Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Number of attachments :
      0

      Description

      Running 'ant test' on master fails with the following errors:

      [junit] Testsuite: org.jruby.test.JRubyTestSuite
          [junit] Tests run: 26, Failures: 1, Errors: 0, Time elapsed: 117.235 sec
          [junit] 
          [junit] ------------- Standard Error -----------------
          [junit] /bin/sh: jruby: command not found
          [junit] ------------- ---------------- ---------------
          [junit] Testcase: test_dir(org.jruby.test.TestUnitTestSuite$ScriptTest):	FAILED
          [junit] Faults encountered running test/test_dir, complete output follows:
          [junit] Error:
          [junit] test_chdir_and_pwd(TestDir):
          [junit] NoMethodError: undefined method `strip' for nil:NilClass
          [junit]     ./test/test_dir.rb:127:in `test_chdir_and_pwd'
          [junit]     org/jruby/RubyDir.java:335:in `chdir'
          [junit]     ./test/test_dir.rb:120:in `test_chdir_and_pwd'
          [junit]     org/jruby/RubyKernel.java:1945:in `send'
          [junit]     org/jruby/RubyArray.java:1590:in `each'
          [junit] 
          [junit] junit.framework.AssertionFailedError: Faults encountered running test/test_dir, complete output follows:
          [junit] Error:
          [junit] test_chdir_and_pwd(TestDir):
          [junit] NoMethodError: undefined method `strip' for nil:NilClass
          [junit]     ./test/test_dir.rb:127:in `test_chdir_and_pwd'
          [junit]     org/jruby/RubyDir.java:335:in `chdir'
          [junit]     ./test/test_dir.rb:120:in `test_chdir_and_pwd'
          [junit]     org/jruby/RubyKernel.java:1945:in `send'
          [junit]     org/jruby/RubyArray.java:1590:in `each'
          [junit] 
          [junit] 	at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:224)
          [junit] 
          [junit] 
          [junit] /bin/sh: jruby: command not found
      
      BUILD FAILED
      
      

      Adding $PWD/bin/jruby to PATH fixes this problem.

        Activity

        Hide
        Wayne Meissner added a comment -

        Resolved as of commit 89cff8443c6245f312ba62bdfa557671780bed6e

        Show
        Wayne Meissner added a comment - Resolved as of commit 89cff8443c6245f312ba62bdfa557671780bed6e

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Wayne Meissner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: