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

Rvm quits shell when loading a missing ruby #578

Closed
diasjorge opened this issue Nov 7, 2011 · 3 comments
Closed

Rvm quits shell when loading a missing ruby #578

diasjorge opened this issue Nov 7, 2011 · 3 comments
Assignees
Milestone

Comments

@diasjorge
Copy link

I just noticed if I modify a .rvmrc and set $environment-id="ruby-something" when I go to a directory and it loads that file then the shell quits.
Here's the stack trace:
https://gist.github.com/1344535

I also change the $environment-id="ruby-1.8.4" when I cd to that dir it also quits

@ghost ghost assigned mpapis Nov 8, 2011
@ghost
Copy link

ghost commented Nov 8, 2011

what platform is this on? CentOS or OS X?

@mpapis
Copy link
Member

mpapis commented Nov 8, 2011

the --rvmrc is meant to support only full and valid names (aliases) it is not supported to use a environment_id="1.8.4" here are few full names:

jruby-1.6.5
rbx-1.2.4
ruby-1.8.7-p352
ruby-1.9.2-p290
ruby-1.9.3-p0

if you wish to use any short versions of ruby name use:

echo rvm use 1.8.4 > .rvmrc

instead of --rvmrc option

@diasjorge
Copy link
Author

Thanks man!!

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

2 participants