Last active
February 8, 2022 06:44
-
-
Save baurzhan-konurbayev/791f5a93c4f2135e82f051296b61d59e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure Ruby and Gems paths on Mac | |
export RUBY_PATH=/usr/local/opt/ruby/bin | |
export PATH="$RUBY_PATH:$PATH" | |
export RUBY_VERSION=$($RUBY_PATH/ruby -e "puts RUBY_VERSION") | |
export PATH="/usr/local/lib/ruby/gems/$RUBY_VERSION/bin:$PATH" | |
export GEM_HOME="$HOME/.gem" | |
export GEM_PATH="$GEM_HOME/ruby/$RUBY_VERSION" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment