Rbenv plugin fails to remove .rbenv.lock

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: rbenv-plugin
    • Environment:
      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.

            Assignee:
            Unassigned
            Reporter:
            Joseph Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: