Forum: JRuby Question about running ant test on JRuby 1.2 in github

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.
Steve J. (Guest)
on 2009-04-19 02:14
(Received via mailing list)
Hi Gang,

I'm new to JRuby and am trying to run the test suite for the first
time on the jruby-1_2 branch from github. Running ant test I get the
following error:

$ ant test
    [echo] compile=OFF, threshold=20, objectspace=true
threadpool=false reflection=false
    [java] /Users/stevej/local/src/jruby/bin/rake:19: undefined
method `bin_path' for Gem:Module (NoMethodError)

/Users/stevej/local/src/jruby/build.xml:726: The following error
occurred while executing this line:
/Users/stevej/local/src/jruby/build.xml:748: Java returned: 1

Is this a known error?

My JRUBY_HOME is /Users/stevej/local/src/jruby
and I'm running Java 1.5 on OS X.
My version of rubygems is 1.3.2

$ gem --version

But jgem is 1.3.1 and I notice that the RubyGems CHANGELOG states that
Gem::bin_path was added in 1.3.2 quite recently:

"Added Gem::bin_path to make finding executables easier. Patch #24114
by James T.." [1]



To unsubscribe from this list, please visit:
Charles Oliver N. (Guest)
on 2009-04-19 03:17
(Received via mailing list)
This must be some odd interaction with gem 1.3.2 and the branch which
is 1.3.1 (and maybe github and sunspots). Can you just try master or a
binary for the moment? And if you feel up to it, file a bug so we can
get 1.2 branch working again.

- Charlie (mobile)

On Apr 18, 2009, at 17:14, Steve J. <removed_email_address@domain.invalid> 

> threadpool=false reflection=false
> My JRUBY_HOME is /Users/stevej/local/src/jruby
> by James T.." [1]

To unsubscribe from this list, please visit:
Steve J. (Guest)
on 2009-04-19 07:31
(Received via mailing list)
Bug filed. I'll use a binary version.


On Sat, Apr 18, 2009 at 4:17 PM, Charles Oliver N.
<removed_email_address@domain.invalid> wrote:
>> method `bin_path' for Gem:Module (NoMethodError)
>> My version of rubygems is 1.3.2
>> Best,
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:

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