Skip to content
brianewing edited this page Dec 2, 2011 · 2 revisions

simple-navigation is distributed as a rubygem and can be included in your project as described here.

h2. Rails 2

Add the following line to your config/environment.rb:

@config.gem "simple-navigation"@

Then enter

@$ rake gems:install@

h2. Rails 3

To include the gem in your Rails 3 app, just add it to the Gemfile:

@gem "simple-navigation"@

and run

@bundle install@

Be sure not to confuse this with the "simple_navigation" gem of a similar name.

h2. Sinatra or Padrino

Please use the sinatra-simple-navigation gem. This is a wrapper gem which simplifies the integration of simple-navigation into your sinatra and padrino apps.

Clone this wiki locally