Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jar files on load_path do not obey Dir.pwd #2215

Closed
mkristian opened this issue Nov 18, 2014 · 3 comments
Closed

jar files on load_path do not obey Dir.pwd #2215

mkristian opened this issue Nov 18, 2014 · 3 comments

Comments

@mkristian
Copy link
Member

this fails

cd bin
jruby -I. -e "Dir.chdir('..'); require 'test/test_jar_on_load_path.rb'"

but this passes

bin/jruby -I. -e "require 'test/test_jar_on_load_path.rb'"

JarResource does not take CWD (or PWD) into account and uses the current directory of the JVM instead.

@mkristian
Copy link
Member Author

there are more failing test cases with the Dir.pwd

cd bin
jruby -I. -e "Dir.chdir('..'); require 'test/test_file.rb'"

mkristian added a commit that referenced this issue Nov 19, 2014
some tests are not working and get omitted - #2215
and one test got a little workaround for #2216

Sponsored by Lookout Inc.
mkristian added a commit that referenced this issue Nov 19, 2014
some tests are not working and get omitted - #2215
and one test got a little workaround for #2216

Sponsored by Lookout Inc.
mkristian added a commit that referenced this issue Nov 19, 2014
…tifacts

some tests are not working and get omitted - #2215
and one test got a little workaround for #2216

Sponsored by Lookout Inc.
yousuketto pushed a commit to yousuketto/jruby that referenced this issue Nov 22, 2014
some tests are not working and get omitted - jruby#2215
and one test got a little workaround for jruby#2216

Sponsored by Lookout Inc.
yousuketto pushed a commit to yousuketto/jruby that referenced this issue Nov 22, 2014
…tifacts

some tests are not working and get omitted - jruby#2215
and one test got a little workaround for jruby#2216

Sponsored by Lookout Inc.
@rtyler
Copy link

rtyler commented Aug 7, 2015

@mkristian I'm pretty sure you've fixed this in recent versions of JRuby 1.7.x right?

@mkristian
Copy link
Member Author

nope - I think I was on the wrong track here. behaviour as is seems correct. closing

@enebo enebo added this to the Invalid or Duplicate milestone Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants