Skip to content

Instantly share code, notes, and snippets.

@TrevorBramble
Created March 5, 2012 21:30
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 TrevorBramble/1981223 to your computer and use it in GitHub Desktop.
Save TrevorBramble/1981223 to your computer and use it in GitHub Desktop.
rvm bin path cry cry cry
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)$
@mpapis
Copy link

mpapis commented Mar 11, 2012

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