-
Notifications
You must be signed in to change notification settings - Fork 505
Rails Install
Anna Carey edited this page Apr 22, 2016
·
3 revisions
To Use octopus inside rails:
Currently, Octopus doesn't support Rails 2. If you need support for rails 2, please use the version 0.5.0.
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.