![]() There's one additional step after brew install rbenv Run rbenv init and add one line to. Then: $ brew update $ brew install rbenv $ brew install rbenv ruby-build # Add rbenv to bash so that it loads every time you open a terminal echo 'if which rbenv > /dev/null then eval "$(rbenv init -)" fi' > ~/.bash_profile source ~/.bash_profile ![]() The simplicity of rbenv means as long as it's in your $PATH, nothing else needs to know about it. Require changes to Ruby libraries for compatibility.If you have projects that are not yet using Bundler you can install the rbenv-gemset plugin. Bundler is a better way to manage application dependencies. You can build and install Ruby yourself, or use ruby-build to automate the process. There's nothing to configure except which version of Ruby you want to use. Override shell commands like cd or require prompt hacks.Instead, rbenv's shim approach works by adding a directory to your $PATH. Allow you to override the Ruby version with an environment variable.Let you change the global Ruby version on a per-user basis.Provide support for specifying application-specific Ruby versions.* If this meets your criteria: : rbenv does…
0 Comments
Leave a Reply. |