forked from codeplant/simple-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
andi edited this page Sep 13, 2010
·
12 revisions
simple-navigation can be installed either as GemPlugin or as plugin.
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.
Go to your rails-directory and enter:
$ script/plugin install git://github.com/andi/simple-navigation.git