Forum: JRuby Run gems out of jar files without having to unpack them ?!

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ali S. (Guest)
on 2009-01-07 14:11
(Received via mailing list)
Dear All,
 I just checked out the latest comments of the jruby 1.1.6 and noticed
the following text:

 "Run gems out of jar files without having to unpack them."

 Then I tried to experience it myself by getting the source code, adding

 <arg value="mongrel"/>

 to the

 maybe_install_gems

 section of the jar-complete and building the jar-complete. I checked
the installed gems with

 java -jar lib/jruby-complete.jar -S jgem list

 and saw that "mongrel" was installed successfully.

 I then executed

 java -jar jruby-complete.jar -e "require 'rubygems';require 'mongrel';"

 and I got welcomed by an error message saying that jruby can't find the
mongrel gem (no such file to load -- mongrel (LoadError) ).

 I appreciate if someone could clarify the issue. (I checked the
http://jira.codehaus.org/browse/JRUBY-3126 but no concrete example).

 Thanks in advance,
 -A

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

    http://xircles.codehaus.org/manage_email
This topic is locked and can not be replied to.