jruby-complete 1.9 mode can not load files with relative path
-------------------------------------------------------------
Key: JRUBY-5645
URL: http://jira.codehaus.org/browse/JRUBY-5645
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6, JRuby 1.6RC3, JRuby 1.6RC2, JRuby 1.6RC1
Reporter: kristian meier
Assignee: Thomas E Enebo
there is a file "t.rb" with "puts 'hello'"
{noformat}
$ java -jar jruby-complete-1.6.0.jar --1.9 -e 'load "t.rb"'
LoadError: No such file to load -- t.rb
load at org/jruby/RubyKernel.java:1072
(root) at -e:1
{noformat}
{noformat}
$ java -jar jruby-complete-1.6.0.jar --1.8 -e 'load "t.rb"'
hello
{noformat}
{noformat}
$ jruby --1.9 -e 'load "t.rb"'
hello
{noformat}
{noformat}
$ java -jar jruby-complete-1.5.6.jar --1.8 -e 'load "t.rb"'
hello
{noformat}
{noformat}
$ java -jar jruby-complete-1.5.6.jar --1.9 -e 'load "t.rb"'
hello
{noformat}
the first error is seen with all 1.6.0.RCX versions as well.
--
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