![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Charles Oliver Nutter
|
Created:
|
26/Apr/13 7:07 PM
|
Description:
|
This is a regression. Previous versions of jruby-complete.jar didn't percent-escape spaces in the paths.
$ pwd
/tmp
$ java -jar jruby-complete.jar -v
jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-12-29 ab3899a) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]
$ java -jar jruby-complete.jar -r set -e 'p $LOAD_PATH'
["file:/private/tmp/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8", "file:/private/tmp/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/site_ruby/shared", "file:/private/tmp/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/1.8", "."]
$ mkdir "path with spaces"
$ mv jruby-complete.jar path\ with\ spaces
$ java -jar path\ with\ spaces/jruby-complete.jar -r set -e 'p $LOAD_PATH'
org.jruby.exceptions.RaiseException: (LoadError) no such file to load – set
$ java -jar path\ with\ spaces/jruby-complete.jar -e 'p $LOAD_PATH'
["file:/private/tmp/path%20with%20spaces/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8", "file:/private/tmp/path%20with%20spaces/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/site_ruby/shared", "file:/private/tmp/path%20with%20spaces/jruby-complete.jar!/META-INF/jruby.home/lib/ruby/1.8", "."]
$
|
Fix Versions:
|
JRuby 1.6RC3 |
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Syver Enstad
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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