Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6
    • Fix Version/s: JRuby 1.6.5, JRuby 1.7.0.pre1
    • Component/s: None
    • Labels:
      None
    • Environment:
      OS X Lion 10.7.2
      Java 1.6.0_26
      ant 1.8.2
    • Number of attachments :
      0

      Description

      git clone https://github.com/jruby/jruby.git
      cd jruby
      git branch --track jruby-1_6 remotes/origin/jruby-1_6
      git checkout jruby-1_6
      ant dist
      
      dist:
           [echo] Running rake gem
           [echo] compile=OFF, threshold=20, objectspace=true threadpool=false reflection=false
           [java] (in /Users/uwe/workspace/jruby/jruby)
           [java] /Users/uwe/workspace/jruby/jruby/bin/jruby -S maybe_install_gems hoe
           [java] /Users/uwe/workspace/jruby/jruby/bin/jruby -S rake package
           [java] Successfully installed hoe-2.12.3
           [java] 1 gem installed
           [java] Generating ast.bat
           [java] Generating autospec.bat
           [java] Generating htmldiff.bat
           [java] Generating install_doc.bat
           [java] Generating jgem.bat
           [java] Generating jrubyc.bat
           [java] Generating ldiff.bat
           [java] Generating rspec.bat
           [java] Generating testrb.bat
           [java] (in /Users/uwe/workspace/jruby/jruby/gem)
           [java] rake aborted!
           [java] uninitialized constant Hoe::Publish::RDoc
           [java] /Users/uwe/workspace/jruby/jruby/gem/Rakefile:58:in `(root)'
           [java] (See full trace by running task with --trace)
           [java] rake aborted!
           [java] Command failed with status (1): [/Users/uwe/workspace/jruby/jruby/bin/jruby...]
           [java] 
           [java] (See full trace by running task with --trace)
           [java] #<Gem::LoadError: Could not find rdoc (>= 0) amongst [diff-lcs-1.1.2, hoe-2.12.3, rake-0.8.7, rspec-2.4.0, rspec-core-2.4.0, rspec-expectations-2.4.0, rspec-mocks-2.4.0, sources-0.0.1]>
      
      BUILD FAILED
      /Users/uwe/workspace/jruby/jruby/build.xml:1556: The following error occurred while executing this line:
      /Users/uwe/workspace/jruby/jruby/build.xml:1148: Java returned: 1
      
      Total time: 6 minutes 28 seconds
      

        Activity

        Hide
        Hiro Asari added a comment -

        Now that JRUBY-6037 is fixed, we see that the same happens on the master. The issue here is that when we run ant dist from a clean repo, it requires rdoc be installed.

        You can get around this problem by:

        ant
        ./bin/jruby -S gem install rdoc
        ./bin/jruby -S gem install rdoc-data; ./bin/jruby -S rdoc-data --install # this may not be necessary
        ant dist
        
        Show
        Hiro Asari added a comment - Now that JRUBY-6037 is fixed, we see that the same happens on the master. The issue here is that when we run ant dist from a clean repo, it requires rdoc be installed. You can get around this problem by: ant ./bin/jruby -S gem install rdoc ./bin/jruby -S gem install rdoc-data; ./bin/jruby -S rdoc-data --install # this may not be necessary ant dist
        Hide
        Uwe Kubosch added a comment -

        Seems this is enough as a workaround

        ant
        ./bin/jruby -S gem install rdoc
        ant dist
        
        Show
        Uwe Kubosch added a comment - Seems this is enough as a workaround ant ./bin/jruby -S gem install rdoc ant dist
        Show
        Hiro Asari added a comment - Charlie fixed it: https://github.com/jruby/jruby/commit/2702be2fab2ec093e4f74e68e2d559571a37d898

          People

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

            Dates

            • Created:
              Updated:
              Resolved: