Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: JRuby 1.6.7
    • Fix Version/s: None
    • Component/s: Java Integration
    • Labels:
    • Environment:
      Windows, JRE6
    • Number of attachments :
      0

      Description

      require_relative supported in Ruby 1.9.2 works for ruby files in JRuby 1.6.7, but it doesn't work for jars.

      Example:

      require_relative './foo/bar.rb' # => true
      
      
      require_relative './jars/Thorlib.jar' # => true
      require 'thor' # => LoadError.
      
      
      require './jars/Thorlib.jar' # => true
      require 'thor' # => true
      

        Activity

        Hide
        Hiro Asari added a comment -

        Could you confirm the problem exists on the master? http://ci.jruby.org/snapshots/master/

        Show
        Hiro Asari added a comment - Could you confirm the problem exists on the master? http://ci.jruby.org/snapshots/master/
        Hide
        Charles Oliver Nutter added a comment -

        No follow-up. I also don't see any reason why it wouldn't work...reopen if it's still busted on master/1.7pre2.

        Show
        Charles Oliver Nutter added a comment - No follow-up. I also don't see any reason why it wouldn't work...reopen if it's still busted on master/1.7pre2.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: