Restart shell as login shell after rbenv #87

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Owner

croaky commented Apr 9, 2013

Move exec $SHELL -l line to spot recommended by rbenv README.

@croaky croaky Restart shell as login shell after rbenv
Move `exec $SHELL -l` line to spot recommended by [rbenv README][1].

[1]: https://github.com/sstephenson/rbenv/
e1080bc
Owner

jferris commented Apr 10, 2013

This looks good to me. Was there something that went wrong in the old position, or is this just to make sure we're following the instructions correctly?

Owner

croaky commented Apr 10, 2013

@jferris Yes, users were seeing this:

Updating rubygems-update
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.
failed
Installing critical Ruby gems for Rails development ...
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --no-document
failed
Installing GitHub CLI client ...
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --no-document
failed

I'll add more detail to the commit message when I squash.

croaky closed this Apr 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment