jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-2797

File.expand_path rubyspec failure on Mac OS X, Soylatte

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Charles Oliver Nutter added a comment - 13/Feb/09 7:22 PM

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

Show
Charles Oliver Nutter added a comment - 13/Feb/09 7:22 PM Fixed in r9141 by using a native call to getpwnam when native calls are available.

People

  • Assignee:
    Charles Oliver Nutter
    Reporter:
    Charles Oliver Nutter
Vote (0)
Watch (2)

Dates

  • Created:
    14/Jul/08 4:20 PM
    Updated:
    21/Mar/09 1:14 PM
    Resolved:
    13/Feb/09 7:22 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.