Unable to run ant test in jruby-1_2 branch
------------------------------------------

                 Key: JRUBY-3589
                 URL: http://jira.codehaus.org/browse/JRUBY-3589
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.2
         Environment: OS X 10.6
Java 1.5

            Reporter: Steve Jenson
            Assignee: Thomas E Enebo


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to