skeleton_rails

A rails generator that makes the application layout use [Skeleton](http://getskeleton.com)

6
0
Ruby

== Skeleton Rails
skeleton_rails is a simple gem that allows you to generate a layout file based on the awesome Skeleton in your rails application. It currently works with Rails 3.0.0 and later.

== Installation

gem install skeleton_rails

or in your Gemfile

gem 'skeleton_rails'

Then, to create the layout:

rails g skeleton_layout [NAME] [--haml]

NAME is optional and defaults to application. The generator will copy a layout file to the app/views/layouts directory, as well as copying the stylesheets, javascript, and image files to their respective locations. Skeleton also includes a 404.html and a robots.txt file.

If the --haml option is specified, a haml template will be created instead of ERB.

== Notes/Gotchas

  • If you are running Rails 3.0 and NOT using jQuery, tabs.js will throw an error. Just remove it or refactor it to use your js framework.

== Future

  • Maybe add sass?

= Issues/Suggestions
If you find anything amiss with this gem, please feel free to add a { github issue }[https://github.com/ruprict/skeleton_rails/issues].

If you have a suggestion, please feel free to fork, make the change, and submit a pull request.

== Credit
Thanks to Dave Gamache for making Skeleton, and thanks to Ryan Bates for making Nifty Generators, which I basically just copied to make the structure for this gem.