Question about running ant test on JRuby 1.2 in github


#1

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
[…]
test-rake-targets:
[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)

BUILD FAILED
/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
1.3.2

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

Best,
Steve


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#2

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 wrote:

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


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#3

Bug filed. I’ll use a binary version.

thanks,
steve

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:

 http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email