Skip to content

Commit

Permalink
Merge pull request #17 from KensoDev/master
Browse files Browse the repository at this point in the history
Documentation fix for installing the Gem through RubyGems
  • Loading branch information
schoefmann committed Mar 29, 2012
2 parents 251806a + 9cc517e commit 1eddb75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
spec/debug.log
experimental
.rvmrc
Gemfile.lock

12 changes: 7 additions & 5 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ master database.
* works with activerecord 2.1, 2.2, 2.3, and 3.0

=== Install
==== Rails 2
gem install multi_db

gem sources --add http://gems.github.com # only if you haven't already added github
gem install schoefmax-multi_db
Then add this to your environment.rb:
config.gem 'multi_db', :lib => 'multi_db'

When using Rails, add this to your environment.rb:

config.gem 'schoefmax-multi_db', :lib => 'multi_db', :source => 'http://gems.github.com'
==== Rails 3
put this in your Gemfile
gem 'multi_db'

=== Setup

Expand Down

0 comments on commit 1eddb75

Please sign in to comment.