Add deprecation
This commit is contained in:
parent
3d11861f82
commit
346268b6e7
2 changed files with 9 additions and 1 deletions
|
@ -219,7 +219,7 @@ configuration:
|
|||
[Ruby](https://www.ruby-lang.org/en/) configuration:
|
||||
|
||||
* Add trusted binstubs to the `PATH`.
|
||||
* Load the ASDF version manager, falling back to rbenv if not installed.
|
||||
* Load the ASDF version manager.
|
||||
|
||||
Shell aliases and scripts:
|
||||
|
||||
|
|
|
@ -5,6 +5,14 @@ PATH="$HOME/.bin:/usr/local/sbin:$PATH"
|
|||
if [ -d "$HOME/.asdf" ]; then
|
||||
. $HOME/.asdf/asdf.sh
|
||||
elif command -v rbenv >/dev/null; then
|
||||
if [ -z $SILENCE_RBENV_DEPRECATION ]; then
|
||||
echo "The thoughtbot dotfiles have deprecated the use of rbenv in favor"\
|
||||
"of asdf (https://github.com/asdf-vm/asdf) and will be removed on or"\
|
||||
"after December 8, 2017. Migrate to asdf or export"\
|
||||
"SILENCE_RBENV_DEPRECATION=1 in your local dotfiles to silence this"\
|
||||
"deprecation."
|
||||
fi
|
||||
|
||||
eval "$(rbenv init - --no-rehash)"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue