Forum: JRuby Trouble with JRuby 1.3RC1

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Pelle Braendgaard (Guest)
on 2009-05-21 01:52
(Received via mailing list)
I'm looking at some issues deploying a jruby rails app to oc4j.

I can deploy fine but when I attempt to actually run the application
it throws an error and the following shows up in the log:

09/05/20 16:29:04 Warning: JRuby home
does not exist, using /tmp
09/05/20 16:29:09 Warning: JRuby home
does not exist, using /tmp
Rails requires RubyGems >= . Please install RubyGems and try again:

The issue happens whether the gems are unpacked in vendor or included
in config.gems.

I am running on a Mac, with OC4J

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

The issue seems to be in JRuby 1.3RC1 only as JRuby 1.2 works fine
when I added jruby12.jar to lib/java and did the following in my

  config.java_libs.reject! { |lib| lib =~ /jruby-complete/ }
  config.java_libs += FileList["lib/java/*.jar"]

Anyone have any clue? Am I doing anything wrong here? Could it be that
OC4J is messing with some classloader somewhere?


-- - Reach Agreement! - Solutions for the electronic Extra Legal world - Bootstrapping blog

To unsubscribe from this list, please visit:
This topic is locked and can not be replied to.