forked from thiagopradi/octopus
-
Notifications
You must be signed in to change notification settings - Fork 0
Rails Install
wtfiwtz edited this page Jul 4, 2012
·
2 revisions
To Use octopus inside rails:
Install the octopus gem:
sudo gem install ar-octopus
Add this line to environment.rb:
config.gem 'ar-octopus', :lib => 'octopus'
Add this line to Gemfile:
gem 'ar-octopus', :require => 'octopus'
Runs a bundle install:
bundle install
Octopus is working! now you could start using it, by creating a shards.yml file, see this page.
To use Rails 3.2.x, please use the master branch:
gem 'ar-octopus', :git => "git://github.com/tchandy/octopus.git", :require => "octopus"