Issue Type: Bug Bug
Affects Versions: JRuby 1.7.3
Assignee: Unassigned
Attachments: require.7z
Components: Compiler, Core Classes/Modules
Created: 28/Mar/13 2:28 AM
Description:

this line:
require File.dirname(_FILE_) + '/foo/bar/../../3'
is ok while in scripts, but not in compiled classes

LoadError: no such file to load – file:/D:/dev/require/req.jar!/foo/bar/../../3
require at org/jruby/RubyKernel.java:1027
require at C:/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at ./2.rb:22
require at org/jruby/RubyKernel.java:1027
require at C:/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at file:/D:/dev/require/req.jar!/2.rb:1
require at org/jruby/RubyKernel.java:1027
(root) at C:/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:1
(root) at ./1.rb:2
require at org/jruby/RubyKernel.java:1027
require at C:/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:36
require at C:/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:36
require at org/jruby/RubyKernel.java:1027
(root) at file:/D:/dev/require/req.jar!/1.rb:1
(root) at -e:1

Environment: windows 7 32bit, JDK 1.7.0 15
Project: JRuby
Priority: Critical Critical
Reporter: Gunchin Alexey
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

Reply via email to