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

Unable to install JRuby if you have a directory called "java" #944

Closed
davorb opened this issue May 3, 2012 · 8 comments
Closed

Unable to install JRuby if you have a directory called "java" #944

davorb opened this issue May 3, 2012 · 8 comments
Assignees

Comments

@davorb
Copy link

davorb commented May 3, 2012

It is currently impossible to install JRuby with RVM if there's a directory called "java" in your $PATH.

Basically you will get this error https://gist.github.com/770188

@ghost
Copy link

ghost commented May 3, 2012

this isn't rvm. this is jruby

please see http://jira.codehaus.org/browse/JRUBY-6262

@ghost ghost closed this as completed May 3, 2012
@mpapis
Copy link
Member

mpapis commented May 3, 2012

i think you are using old RVM, please upgrade first and try reproducing your steps:

curl -L get.rvm.io | bash
rvm reload
rvm install jruby

@ghost ghost assigned mpapis and ghost May 3, 2012
@davorb
Copy link
Author

davorb commented May 3, 2012

@deryldoucette I did have a look at that, and there it says "The error is coming from RVM"

@mpapis I did that more than once and the problem persisted.

@mpapis
Copy link
Member

mpapis commented May 3, 2012

@davorb at least the jruby version changes, can you create a new gist for it?

@mpapis mpapis reopened this May 3, 2012
@ghost ghost assigned mpapis May 3, 2012
@davorb
Copy link
Author

davorb commented May 4, 2012

@mpapis
Copy link
Member

mpapis commented May 4, 2012

I have did some test and checking, I can not find how this can be RVM issue.

@BanzaiMan
Copy link
Contributor

I also tested this, but I can't reproduce this. The trigger doesn't seem to be what's on $PATH before RVM runs.

@davorb What is ~/bin/java on your machine? Is that a wrapper to do some environment manipulation to get Java working for you?

Whatever it is, try running jruby under RVM with strace and figure out which file is actually giving you EACCESS error.

@mpapis
Copy link
Member

mpapis commented May 13, 2012

closing as it does not lead us strictly back to RVM.

@mpapis mpapis closed this as completed May 13, 2012
@pkuczynski pkuczynski added this to the rvm-1.27.0-before milestone May 8, 2019
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

4 participants