Created
March 5, 2012 21:30
-
-
Save TrevorBramble/1981223 to your computer and use it in GitHub Desktop.
rvm bin path cry cry cry
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
temp (ree-1.8.7-2012.02@global)$ gem install bundler | |
WARNING: You don't have /home/trevor/.gem/ruby/1.8/bin in your PATH, | |
gem executables will not run. | |
Successfully installed bundler-1.0.22 | |
1 gem installed | |
Installing ri documentation for bundler-1.0.22... | |
Installing RDoc documentation for bundler-1.0.22... | |
temp (ree-1.8.7-2012.02@global)$ gem -v | |
1.8.17 | |
temp (ree-1.8.7-2012.02@global)$ which gem | |
/home/trevor/.rvm/rubies/ree-1.8.7-2012.02/bin/gem | |
temp (ree-1.8.7-2012.02@global)$ which ruby | |
/home/trevor/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby | |
temp (ree-1.8.7-2012.02@global)$ |
sure it's windows way of fixing problems with inheriting environment, but you can change it in registry and then any new call / run will use it - so you can change it, and on linux - it's hardcoded, at least unless you mess with RbConfig, but I think it's still getting to my point - it's not consistent behavior.
it also starts to make sense when I want to use shoesrb to build portable applications runnable on all the available platforms.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mpapis:
Well, it matches the environment variable, sure, but is not controllable by the environment variable itself:
It uses WinAPI to obtain the value and that is buried in Windows Registry.