You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fancy_echo 'We recommend chruby and ruby-install over RVM or rbenv'
...there doesn't appear to be a specific reason that this script uses chruby/ruby-install over rbenv. In addition:
the rbenv binary appears in numerous places throughout our code, while the chruby one does not
chruby allows for fuzzy-version installs, which can potentially be problematic if the third version octet isn't specified
switch_to_latest_ruby() is dependent on /usr/local/share/chruby/chruby.sh existing, despite the fact that an installer, and support, for rbenv (currently just with fish) exists in the file
Unless there's a specific infrastructure reason for staying with chruby over rbenv I believe it would make more sense to just use the rbenv installation process, possibly coupled with some extra commands to easily set up aliases for the various .ruby-version files.
Despite this note...
...there doesn't appear to be a specific reason that this script uses
chruby/ruby-installoverrbenv. In addition:rbenvbinary appears in numerous places throughout our code, while thechrubyone does notchrubyallows 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.shexisting, 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
chrubyoverrbenvI believe it would make more sense to just use therbenvinstallation process, possibly coupled with some extra commands to easily set up aliases for the various.ruby-versionfiles.