-
Bug
-
Resolution: Fixed
-
Minor
-
Ubuntu 14.04
In some situations the following command is executed to remove .rbenv.lock
bash -c "rmdir \$HOME/.rbenv.lock"
This command fails if .rbenv.lock does not exist.
I believe a more robust solution would be to use
bash -c "rm -rf \$HOME/.rbenv.lock" which will remove the directory if it exists and carry on if it does not.