Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.7.0.pre1
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: Miscellaneous
    • Labels:
    • Environment:
      Mac OSX Snow Leopard
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      The test for test_rubyopts_rubygems_cleared_in_child fails when run in 1.9 mode because rubygems is now packaged by default, and the require is no longer necessary:

      "Ruby 1.9
      The default Ruby 1.9 package now includes RubyGems by default on most platforms (presently Debian based systems split this out into a separate package). This means that on Ruby 1.9 and above, you will not need to require 'rubygems' in order to load gem libraries."

      Source: http://docs.rubygems.org/read/chapter/3

      This patch fixes this by using one of the standard library packages, benchmark, to properly test the environment clearing in the child process.

        Activity

        Hide
        Chris White added a comment -

        Fixing to use git format-patch instead

        Show
        Chris White added a comment - Fixing to use git format-patch instead
        Hide
        Hiroshi Nakamura added a comment -

        Merged to master at a7360115dcaed380ccab5b8497695a985f6b87ee. Thanks!

        Show
        Hiroshi Nakamura added a comment - Merged to master at a7360115dcaed380ccab5b8497695a985f6b87ee. Thanks!

          People

          • Assignee:
            Hiroshi Nakamura
            Reporter:
            Chris White
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: