A couple weeks ago I ran into some horrible issues with Oracle and activerecord-jdbc. Inserts were failing with an “invalid column index” error.
It turns out this was reported as JRUBY-2018 and resolved, but there wasn’t a release of activerecord-jdbc that contained the fix.
Being impatient like I am, I grabbed the head from svn and built it myself. So if you ever find you need to build yourself an activerecord-jdbc gem from subversion, here you go:
First make sure you have hoe installed.
jruby -S gem install hoe
Grab the source from svn.
svn co http://jruby-extras.rubyforge.org/svn/trunk/activerecord-jdbc
Build the .gem
jruby -S rake packageInstall the generated .gem file.
jruby -S gem install activerecord-jdbc-adapter-[version].gemMAKE SURE YOU UNINSTALL YOUR PREVIOUS VERSION
The chances that you’ll have to do this are very slim. Nick Sieger is usually super-on-top of making sure things are up and working the way they should be, but just in case.
Comments
There are 0 comments on this post. Post yours →
Post a comment
Required fields in bold.