Skip to content

Commit 346268b

Browse files
derekpriorgeoffharcourt
authored andcommitted
Add deprecation
1 parent 3d11861 commit 346268b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ configuration:
219219
[Ruby](https://www.ruby-lang.org/en/) configuration:
220220

221221
* Add trusted binstubs to the `PATH`.
222-
* Load the ASDF version manager, falling back to rbenv if not installed.
222+
* Load the ASDF version manager.
223223

224224
Shell aliases and scripts:
225225

zsh/configs/post/path.zsh

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ PATH="$HOME/.bin:/usr/local/sbin:$PATH"
55
if [ -d "$HOME/.asdf" ]; then
66
. $HOME/.asdf/asdf.sh
77
elif command -v rbenv >/dev/null; then
8+
if [ -z $SILENCE_RBENV_DEPRECATION ]; then
9+
echo "The thoughtbot dotfiles have deprecated the use of rbenv in favor"\
10+
"of asdf (https://github.com/asdf-vm/asdf) and will be removed on or"\
11+
"after December 8, 2017. Migrate to asdf or export"\
12+
"SILENCE_RBENV_DEPRECATION=1 in your local dotfiles to silence this"\
13+
"deprecation."
14+
fi
15+
816
eval "$(rbenv init - --no-rehash)"
917
fi
1018

0 commit comments

Comments
 (0)