-
-
Notifications
You must be signed in to change notification settings - Fork 943
Closed
Labels
Milestone
Description
This fails:
irb> require 'jar:file:/Users/ThoughtWorks/.gradle/caches/artifacts-13/filestore/org.rubygems/arr-pm/0.0.7/jar/7e35e61f1f91ea4d805877c79bc73474b813d1fe/arr-pm-0.0.7.jar!/gems/arr-pm-0.0.7/lib/arr-pm/file/../namespace'
LoadError: no such file to load -- jar:file:/Users/ThoughtWorks/.gradle/caches/artifacts-13/filestore/org.rubygems/arr-pm/0.0.7/jar/7e35e61f1f91ea4d805877c79bc73474b813d1fe/arr-pm-0.0.7.jar!/gems/arr-pm-0.0.7/lib/arr-pm/file/../namespace
from org/jruby/RubyKernel.java:999:in `require'
from jar:file:/Users/ThoughtWorks/Development/jruby/dist/jruby-complete-1.7.0.preview2.dev.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36:in `require'
from (irb):1:in `evaluate'
from org/jruby/RubyKernel.java:1045:in `eval'
from org/jruby/RubyKernel.java:1361:in `loop'
from org/jruby/RubyKernel.java:1154:in `catch'
from org/jruby/RubyKernel.java:1154:in `catch'
from /Users/ThoughtWorks/.rvm/rubies/jruby-1.6.7.2/bin/jirb:17:in `(root)'
But this is ok:
irb> require 'jar:file:/Users/ThoughtWorks/.gradle/caches/artifacts-13/filestore/org.rubygems/arr-pm/0.0.7/jar/7e35e61f1f91ea4d805877c79bc73474b813d1fe/arr-pm-0.0.7.jar!/gems/arr-pm-0.0.7/lib/arr-pm/namespace'
I'm working on the dependency to use File.expand_path when requiring these files, but I feel like jruby should be able to do this.
Reactions are currently unavailable