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

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.
E91c7ba048f1181b2620545c7a7c3049?d=identicon&s=25 Steve Jenson (Guest)
on 2009-04-19 00: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
[...]
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 Tucker." [1]

Best,
Steve

[1]: http://blog.segment7.net/articles/2009/04/15/rubygems-1-3-2

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

    http://xircles.codehaus.org/manage_email
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2009-04-19 01: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 Jenson <stevej@gmail.com> wrote:

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

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

    http://xircles.codehaus.org/manage_email
E91c7ba048f1181b2620545c7a7c3049?d=identicon&s=25 Steve Jenson (Guest)
on 2009-04-19 05:31
(Received via mailing list)
Bug filed. I'll use a binary version.

thanks,
steve

On Sat, Apr 18, 2009 at 4:17 PM, Charles Oliver Nutter
<charles.nutter@sun.com> 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
This topic is locked and can not be replied to.