Skip to content

Commit 96beec7

Browse files
committed
doc(readme): use gem version in examples
1 parent e16c18b commit 96beec7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ Proceed as with Rails; specify `ActiveRecord` in your Bundle along with the
117117
chosen JDBC adapter(s), this time sample *Gemfile* for MySQL:
118118

119119
```ruby
120-
gem 'activerecord', '~> 5.0.6'
121-
gem 'activerecord-jdbcmysql-adapter', :platform => :jruby
120+
gem 'activerecord', '~> 6.0.3'
121+
gem 'activerecord-jdbcmysql-adapter', '~> 60.2', :platform => :jruby
122122
```
123123

124124
When you `require 'bundler/setup'` everything will be set up for you as expected.
@@ -127,13 +127,13 @@ When you `require 'bundler/setup'` everything will be set up for you as expected
127127

128128
Install the needed gems with JRuby, for example:
129129

130-
gem install activerecord -v "~> 5.0.6"
131-
gem install activerecord-jdbc-adapter --ignore-dependencies
130+
gem install activerecord -v "~> 6.0.3"
131+
gem install activerecord-jdbc-adapter -v "~> 60.2" --ignore-dependencies
132132

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

136-
jruby -S gem install activerecord-jdbcmysql-adapter
136+
jruby -S gem install activerecord-jdbcmysql-adapter -v "~> 60.2"
137137

138138
Your program should include:
139139

@@ -173,7 +173,7 @@ ask on the #JRuby IRC channel on http://freenode.net/ (try [web-chat][6]).
173173
This project was originally written by [Nick Sieger](http://github.com/nicksieger)
174174
and [Ola Bini](http://github.com/olabini) with lots of help from the JRuby community.
175175
Polished 3.x compatibility and 4.x support (for AR-JDBC >= 1.3.0) was managed by
176-
[Karol Bucek](http://github.com/kares) among others. Support for Rails 6 was
176+
[Karol Bucek](http://github.com/kares) among others. Support for Rails 6.0 and 6.1 was
177177
contributed by [shellyBits GmbH](https://shellybits.ch/)
178178

179179
## License

0 commit comments

Comments
 (0)