capistrano / rbenv

Idiomatic rbenv support for Capistrano 3.x
MIT License
203 stars 60 forks source link

Use $HOME instead of ~ for RBENV_ROOT #60

Closed latortuga closed 8 years ago

latortuga commented 8 years ago

Using the ~ here causes issues on both Ubuntu and CentOS that I have yet to isolate:

$ export RBENV_ROOT="~/.rbenv" RBENV_VERSION=2.1.6; ~/.rbenv/bin/rbenv exec ruby -v
rbenv: version `2.1.6' is not installed (set by RBENV_VERSION environment variable)

$ export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION=2.1.6; ~/.rbenv/bin/rbenv exec ruby -v
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
latortuga commented 8 years ago

Oh boy, just saw #59 my mistake on the duplicate!