-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
My path isn't working? #936
Comments
export PATH="$HOME/.rbenv/bin:$PATH" Okay, I have fixed it. By saying: .bash_profile needs to contain: |
@vennsoh Glad you solved it! |
I got this too. It's confusing that running |
On ubuntu .bash_profile isn't run. So I put those lines at the end of .bashrc:
and still:
In other words, gem's home is not set right, and so I cannot install gems without sudo (which I don't want to do.) I know I can hack this, but I want to give working instructions to my students, so it would be great to see what I did wrong to get to this spot. Thanks! |
Hi gang,
I tried to follow the guides for installing rbenv but in vain.
Conditions:
I don't have full admin rights to my Mac machine.
Steps:
My .bash_profile:
export PATH="$HOME/.rbenv/bin:$PATH"
However when I try to run $ gem install scss_lint
It is still pointing to the system ruby path environment? Why?
$ echo $PATH
/Users/eevenn.soh/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I can see the path is there.
Error:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
$ gem env home
/Library/Ruby/Gems/2.0.0 <-- How to change this?
The text was updated successfully, but these errors were encountered: