How do you unpack gems using jruby on rails 2.3?

Posted by James Moore on Stack Overflow See other posts from Stack Overflow or by James Moore
Published on 2010-06-08T17:03:07Z Indexed on 2010/06/08 17:22 UTC
Read the original article Hit count: 255

I'm trying to unpack all the system gems to end up with a standalone Rails directory including all the rails gems and all the system gems.

I'm starting with a bare rails setup; just did a jruby -S rails and a 'generate jdbc'. I then add a config.gem 'jdbc-mysql' to environment.rb and do the jruby -S rake gems:unpack:dependencies.

After unpacking, if I do a rake I get:

no such file to load -- jdbc-mysql

Is there something else you need to do to get the jdbc gem unpacked?

I'm using jruby 1.4.0 (and moving to 1.5 is on my todo list) and rails 2.3.8.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rubygems