Details

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

      Description

           [java] File.expand_path expands ~ENV['USER'] to the user's home directory ERROR
           [java] ArgumentError: user headius doesn't exist
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:62
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:62:in `instance_eval'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:62:in `protect'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/context.rb:58:in `each'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/context.rb:58:in `all?'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/context.rb:58:in `protect'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/context.rb:72:in `process'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/context.rb:68:in `each'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/context.rb:68:in `process'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/mspec.rb:29:in `describe'
           [java] /Users/headius/NetBeansProjects/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe'
           [java] /Users/headius/NetBeansProjects/jruby/spec/ruby/1.8/core/file/expand_path_spec.rb:3
           [java] /Users/headius/NetBeansProjects/jruby/spec/ruby/1.8/core/file/expand_path_spec.rb:50:in `load'
      

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        Fixed in r9141 by using a native call to getpwnam when native calls are available.

        Show
        Charles Oliver Nutter added a comment - Fixed in r9141 by using a native call to getpwnam when native calls are available.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: