Skip to content

Instantly share code, notes, and snippets.

@bitops
Created April 4, 2014 19:12
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 bitops/9981234 to your computer and use it in GitHub Desktop.
Save bitops/9981234 to your computer and use it in GitHub Desktop.
An example of behavior where the correct ruby info appears not to be loaded.
rvm use --create 1.9.3@foo
which bundle > /dev/null || gem install bundler --no-ri --no-rdoc
bundle check || bundle install
(rvm-activate-ruby-for
(expand-file-name "~/src/foo")
(progn (compile (concat "cd ~/src/foo && gem env"))))
-*- mode: compilation; default-directory: "~/src/foo/" -*-
Compilation started at Fri Apr 4 12:06:57
cd ~/src/foo && gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.3
- RUBY VERSION: 2.0.0 (2013-06-27 patchlevel 247) [universal.x86_64-darwin13]
- INSTALLATION DIRECTORY: /Users/swittenkamp/.rvm/gems/ruby-1.9.3-p125@foo
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
- EXECUTABLE DIRECTORY: /Users/swittenkamp/.rvm/gems/ruby-1.9.3-p125@foo/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-13
- GEM PATHS:
- /Users/swittenkamp/.rvm/gems/ruby-1.9.3-p125@foo
- /Users/swittenkamp/.rvm/gems/ruby-1.9.3-p125@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- :benchmark => false
- :sources => ["http://rubygems.org/"]
- REMOTE SOURCES:
- http://rubygems.org/
Compilation finished at Fri Apr 4 12:06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment