-
Notifications
You must be signed in to change notification settings - Fork 785
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
Error: "/Volumes/Macintosh: Not a directory" #748
Comments
I think my problem may be similar to Smace below smace commented on Nov 20, 2014 can you provide specific command line fix here as maybe this will help others in future |
Thanks for reporting. I'm guessing this is because of a space in |
|
~ ~/.rbenv ~/.rbenv ~ map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net |
Tried changing names of hard drives and now can not even log in to my user profile ###F******** Not sure what to do now, but if anyone can help I'd appreciate it. |
Update : logged in under guest and corrected path to my designated "login folder" with the new HDD name without spaces. ##Root path to my login account is: /Volumes/OSX_HD/users/#{login_name} |
I don't suggest you make any system changes. Instead, install rubies in a location that is not in your home folder, to avoid installing to "Macintosh HD". E.g.: sudo mkdir -p /opt/rubies
sudo chown "${USER}:staff" /opt/rubies
rm -rf ~/.rbenv/versions
ln -s /opt/rubies ~/.rbenv/versions Now install Ruby version to $ ruby-build 2.1.5 /opt/rubies/2.1.5
# (`rbenv install 2.1.5` might work as well; not sure)
$ rbenv global 2.1.5 |
Sorry you had trouble with my syntax (valid bash) in zsh. Maybe this would be better (in the future): chown "${USER}:staff" /opt/rubies |
Thank you! |
I've added this caveat to our wiki so now I feel I can close this. Thanks everyone for participation. |
Yes that problem was awful, similar issue that should be added to Wiki is when the file .rbenv.shim gets in the way of the executable path. It has been an issue prior. But I think that should be added into the documenation as well. **Although more related to rbenv* but these tools are all trying to aid in the same problem. |
The text was updated successfully, but these errors were encountered: