-
Notifications
You must be signed in to change notification settings - Fork 96
use rbenv instead of chruby for consistency with repo code #188
Comments
+1 in favor of simplifying this and using |
Some historical context: The switch to chruby was a long time ago, and apparently in response to a particular problem with RVM. I can't find any discussion in Slack about it, except one 8 months ago where we agreed that if people are using something else, we should update the script. Incidentally, in that conversation, most people said they are using rbenv. 😛 |
Fwiw, I use pyenv, nodenv, and rbenv because they all have the same interface. That way I don't have to remember how to update Ruby every blue moon when I touch a Ruby project.
|
Given I introduced It looks like
If you are switching to fish from bash, you also need to delete or empty your As for choosing
References: |
Despite this note...
...there doesn't appear to be a specific reason that this script uses
chruby
/ruby-install
overrbenv
. In addition:rbenv
binary appears in numerous places throughout our code, while thechruby
one does notchruby
allows for fuzzy-version installs, which can potentially be problematic if the third version octet isn't specifiedswitch_to_latest_ruby()
is dependent on/usr/local/share/chruby/chruby.sh
existing, despite the fact that an installer, and support, forrbenv
(currently just withfish
) exists in the fileUnless there's a specific infrastructure reason for staying with
chruby
overrbenv
I believe it would make more sense to just use therbenv
installation process, possibly coupled with some extra commands to easily set up aliases for the various.ruby-version
files.The text was updated successfully, but these errors were encountered: