Skip to content
Greg Molnar edited this page Feb 2, 2023 · 5 revisions

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

Rails 3 onwards

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.

Rails 2

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

config.gem "simple-navigation"

Then enter

$ rake gems:install

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