Install Ruby and Bundler at the user level
Deprecated in favor of: gist.
Steps:
- Install Ruby at the user level.
- Install with your package manager.
- On Debian/Ubuntu using apt-get (ruby-full includes
ruby
andruby-dev
):$ sudo apt-get install ruby-full
- On macOS using Homebrew:
$ brew install ruby
- Other - follow the official Ruby Installation guide.
- On Debian/Ubuntu using apt-get (ruby-full includes
- More details are available in my Ruby install guide including how to set
PATH
on Linux and macOS. That guide has been updated to cover macOS Catalina setup too.
- Install with your package manager.
- Install Bundler at the user level. The flag at the end is necessary to install in
~/.gem
for your user. And also avoids having to usesudo
to overcome a permissions error.$ gem install bundler --user-install
- Confirm installation. Note bundler and bundle are equaivelent.
$ bundle --version