From 9df01000a2afbd6d89c06dbc1eeedecb93e1cba1 Mon Sep 17 00:00:00 2001 From: Avi Tzurel Date: Tue, 27 Dec 2011 21:00:34 +0200 Subject: [PATCH 1/3] Fixed the documentation, the gem is hosted on RubyGems now, so you don't need to go through Github --- README.rdoc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.rdoc b/README.rdoc index 5644237..69a8f0e 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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 From 1fcf51549e4d734effbab8fdb26a97d975147f75 Mon Sep 17 00:00:00 2001 From: Avi Tzurel Date: Tue, 27 Dec 2011 21:01:33 +0200 Subject: [PATCH 2/3] Some reformatting, to make it clearer --- README.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rdoc b/README.rdoc index 69a8f0e..294878a 100644 --- a/README.rdoc +++ b/README.rdoc @@ -28,13 +28,13 @@ master database. * works with activerecord 2.1, 2.2, 2.3, and 3.0 === Install -*Rails 2* +==== Rails 2 gem install multi_db Then add this to your environment.rb: config.gem 'multi_db', :lib => 'multi_db' -*Rails 3* +==== Rails 3 put this in your Gemfile gem 'multi_db' From 9cc517ed8e2111d0af2d481196d7a6f73269b023 Mon Sep 17 00:00:00 2001 From: Avi Tzurel Date: Tue, 27 Dec 2011 23:51:17 +0200 Subject: [PATCH 3/3] Added local RVMRC file to the ignore, added the Gemfile.lock as well --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 409cc6c..e4a254a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ spec/debug.log experimental +.rvmrc +Gemfile.lock