Skip to content

Instantly share code, notes, and snippets.

@georapbox
Forked from dstranz/commands.sh
Created November 26, 2020 08:01
Show Gist options
  • Save georapbox/4f1d42779ea45aba2b41fc2c2df5b7f7 to your computer and use it in GitHub Desktop.
Save georapbox/4f1d42779ea45aba2b41fc2c2df5b7f7 to your computer and use it in GitHub Desktop.
nice option to use bundler on macOS Catalina without playing with sudo or rvm like before
# install bundler in user space
gem install bundler --user-install
# then add following lines to ~/.zshrc on Catalina or ~/.bash_profile on older:
# - to set default bundle install directory
export BUNDLE_PATH=$(ls -t -U | ruby -e 'puts Gem.user_dir')
# - to add user gem directory to $PATH
export PATH="$PATH:$BUNDLE_PATH/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment