Skip to content
andi edited this page Sep 13, 2010 · 12 revisions

simple-navigation can be installed either as GemPlugin or as plugin.

Install as GemPlugin (preferred)

To install it as a GemPlugin (Rails >= 2.1 required) add the following line to your config/environment.rb:

config.gem "simple-navigation"

Then enter

$ rake gems:install

If you have problems installing it this way or you depend on Rails < 2.1, you can install the gem manually

$ sudo gem install simple-navigation

and then require it in your code:

require 'simple_navigation'

If you cannot install the gem, you still can install it as plugin.

Install as plugin

Go to your rails-directory and enter:

$ script/plugin install git://github.com/andi/simple-navigation.git
Clone this wiki locally