-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
bash error while installing jruby #1291
Comments
Can you gist the contents of your shell init files? |
Also, can you try the same thing with |
here is my bash_profile |
Nothing looks amiss in there. You do have an enormous PATH by the time this runs. Assuming that --trace turns up nothing interesting, I'd be curious to see what happens with less. It's possible that at some point PATH gets truncated. (As an aside, setting TERM in your dotfiles is rarely a good idea, as an fyi) |
also here is the result of: |
Ok, you can workaround the issue for now with sudo ln -s /bin/bash /usr/bin/bash I'll get a patch together in a sec. |
Did you install rvm somewhere vaguely bizarre?
|
which rvm isn't it the right place? |
Do you get the same result from
|
yes __rvm_which rvm |
Ok, I think I have it worked out. What's the output of At some point something appears to have installed something executable there, which normally does nothing, but once all the other RVM paths are removed, suddenly it matches and breaks everything. |
hmm this is the output ls -l /bin/rvm -rwxrwxr-x 1 root wheel 1039 Jan 11 2012 /bin/rvm |
Hah. I don't suppose you remember what you were doing on Jan 11 this year? If you remove that file, all will come good. Before you do though, can you check there's nothing senstiive in it and gist it? I'm hoping to match it up to a revision of RVM and work out how it got there, since it's obviously not a standalone case. |
hmm ok, I see these cd /bin/rvm rvm rvm-auto-ruby rvm-exec rvm-installer rvm-prompt rvm-shell rvmsudo |
Yeah, you'll want to nuke them all. It looks like somehow you wound up with rvm essentially installed in / Not sure if this was a glitch in the system wide installer around that time this year, but no good can come of it |
thanks a lot richo, now it all works :) i was stucked all day. |
I also hit this issue, but
|
@tjwebb what version of rvm? have you tried after |
tjwebb@abshnasko:~/workspace/tools/cartodb$ rvm -v I'll run 'rvm get head' and see if that helps On Mon, Dec 3, 2012 at 12:05 PM, Michal Papis notifications@github.comwrote:
|
rvm 1.16.17
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)
mac osx
rvm cannot run bash somehow, while installing gemsets. Seems like the path is getting reset or something. I get same error with rvm stable version. Any idea how to resolve it?
Others get the same error on Ubuntu.
http://superuser.com/questions/497726/issues-installing-jruby-with-rvm
The text was updated successfully, but these errors were encountered: