Spaces in paths in RUBYOPT are not handled correctly. -----------------------------------------------------
Key: JRUBY-5224 URL: http://jira.codehaus.org/browse/JRUBY-5224 Project: JRuby Issue Type: Bug Components: Launcher Affects Versions: JRuby 1.5.5 Environment: Windows Reporter: Daniel Sheppard Assignee: Thomas E Enebo Setting: {code} RUBYOPT=-I"c:/program files (x86)/jruby/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib" {code} Many things fail: {code} jruby -e "puts 'hi'" jruby: unknown option -files {code} {code} jruby --version jruby: unknown option -files {code} Curiously, launching irb works fine: {code} jruby -S irb irb(main):001:0> exit {code} This is especially a problem with bundler, as bundler adds a "-I" option to rubyopts (they don't quote it, at least in 1.0.0, so it's still going to fail, but jruby needs fixing too). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email