Last Updated: February 25, 2016·
Trouble-free rbenv and bundler
Setting up a sane ruby/bundler environment isn't hard, if you use the right tools.
Install rbenv by following the instructions at https://github.com/sstephenson/rbenv#basic-github-checkout.
Follow Glenn's instructions at https://gist.github.com/glv/6004197.
git clone https://github.com/ianheggie/rbenv-binstubs.git ~/.rbenv/plugins/rbenv-binstubs
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
Restart your shell to apply the profile changes that rbenv made.
You will need to run
bundle install in all of your projects, and maybe
rbenv rehash if a new gem is installed. Use
rbenv install <version> to install required versions of ruby.
Written by David Hassler
Using bundler with rbenv & homebrew
Have a fresh tip? Share with Coderwall community!
Post a tip
Best #Ruby Authors
Sponsored by #native_company# — Learn More