Skip to content

Instantly share code, notes, and snippets.

@MichaelCurrin
Last active May 29, 2021 07:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelCurrin/3af38fca4e2903cdedfb8402c18b2936 to your computer and use it in GitHub Desktop.
Save MichaelCurrin/3af38fca4e2903cdedfb8402c18b2936 to your computer and use it in GitHub Desktop.
Install Ruby and Bundler at the user level

Install Ruby and Bundler at the user level

Deprecated in favor of: gist.

Steps:

  1. Install Ruby at the user level.
    • Install with your package manager.
    • 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.
  2. 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 use sudo to overcome a permissions error.
    $ gem install bundler --user-install
  3. Confirm installation. Note bundler and bundle are equaivelent.
    $ bundle --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment