Commit 14e31950a94694bfb3c3252b869d13df928d422b

Authored by Andrew Kane
1 parent 75b5656e

Added note about JRuby

Showing 1 changed file with 13 additions and 1 deletions   Show diff stats
README.md
... ... @@ -109,10 +109,22 @@ gem 'groupdate'
109 109  
110 110 [Time zone support](http://dev.mysql.com/doc/refman/5.6/en/time-zone-support.html) must be installed on the server.
111 111  
112   -```
  112 +```sh
113 113 mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
114 114 ```
115 115  
  116 +#### For JRuby
  117 +
  118 +Use the master version of your JDBC adapter. You will get incorrect results for versions before [this commit](https://github.com/jruby/activerecord-jdbc-adapter/commit/c1cdb7cec8d3f06fc54995e8d872d830bd0a4d91).
  119 +
  120 +```sh
  121 +# postgresql
  122 +gem "activerecord-jdbcpostgresql-adapter", github: "jruby/activerecord-jdbc-adapter"
  123 +
  124 +# mysql
  125 +gem "activerecord-jdbcmysql-adapter", github: "jruby/activerecord-jdbc-adapter"
  126 +```
  127 +
116 128 ## Complete list
117 129  
118 130 group_by_?
... ...