« Return to Thread: Freezing gems that contain jars

Re: Freezing gems that contain jars

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View in Thread

On Wed, Jun 24, 2009 at 2:09 PM, Matthew Kanwisher<Matt@...> wrote:
> So I came up with a hacky solution, I'll share incase someone else runs into
> this.
> 1) Manually copied hpricot-java into vendor/gems
> 2) Had to rename hpricot-java to hpricot since rails didn't like java in the
> version

I think this qualifies as a Rails bug that needs to be repaired. It
should not have problems with platform gems, or should freeze them
without the platform indicator if it really needs to. You should file
this with Rails for sure.

> 3) Had to move the hpricot_scan.jar since when it was frozen it couldn't
> find it, since it was in some universal java directory. Not sure why
> rubygems is fine with this, but when rails does it, its not fine.
> no such file to load -- hpricot_scan
> //jruby-1.3.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> //jruby-1.3.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'

I'm not sure about this one...it seems like it should be able to find it ok...

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Freezing gems that contain jars