Skip to content

Commit e7f8a07

Browse files
committed
advocate --ignore-dependencies to gem install since it might pull in latest AR
1 parent 709c7f9 commit e7f8a07

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,15 @@ that case simply setup your *Gemfile* as:
179179

180180
```ruby
181181
gem 'activerecord', '~> 4.0.0'
182-
gem 'activerecord-jdbc-adapter', '~> 1.3.0', platform: :jruby
182+
gem 'activerecord-jdbc-adapter', '~> 1.3.2', platform: :jruby
183183
```
184184

185185
#### Without Bundler
186186

187-
Install the needed gems with JRuby:
187+
Install the needed gems with JRuby, for example:
188188

189-
jruby -S gem install activerecord activerecord-jdbc-adapter
189+
gem install activerecord -v "~> 3.2.10"
190+
gem install activerecord-jdbc-adapter --ignore-dependencies
190191

191192
If you wish to use the adapter for a specific database, you can install it
192193
directly and the (jdbc-) driver gem (dependency) will be installed as well:

0 commit comments

Comments
 (0)