Created
May 1, 2018 01:33
-
-
Save GeoffWilliams/e5c1df898d332346eea8d248ea5fb3b1 to your computer and use it in GitHub Desktop.
How to run a clrean ruby command from inside rbenv + bundler and have it use your rbenv but not the bundle - eg make it the same as running the command on the commandline
This file contains hidden or 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
| # note that unset != setting to empty string! Unset will use the default value in when ruby loads, empty | |
| # string will use NO value, eg things will be broken | |
| unset RUBYLIB unset GEM_HOME | |
| unset BUNDLE_GEMFILE | |
| unset BUNDLE_BIN_PATH | |
| unset BUNDLER_VERSION | |
| unset RUBYOPT | |
| unset GEM_PATH | |
| unset GEM_HOME | |
| the_ruby_command_to run | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment