Skip to content

Instantly share code, notes, and snippets.

@ashmoran
Created February 7, 2010 13:12
Show Gist options
  • Save ashmoran/297433 to your computer and use it in GitHub Desktop.
Save ashmoran/297433 to your computer and use it in GitHub Desktop.
% rvm --trace gems load rails3.gems --trace gems load rails3.gems
rvm 0.1.9 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]
+__rvm_parse_args:343> [[ -z '' ]]
+__rvm_parse_args:343> [[ ! -z '' ]]
+__rvm_parse_args:344> [[ ! -z '' ]]
+__rvm_parse_args:344> [[ ! -z '' ]]
+__rvm_parse_args:3> [[ 3 -gt 0 ]]
+__rvm_parse_args:4> rvm_token=gems
+__rvm_parse_args:4> shift
+__rvm_parse_args:5> case gems (fetch|info|version|srcdir|list|rubies|reset|debug|reload|implode|readline|update|iconv|curl|openssl|ncurses|zlib|monitor|notes|mono)
+__rvm_parse_args:5> case gems (use)
+__rvm_parse_args:5> case gems (inspect)
+__rvm_parse_args:5> case gems (install|uninstall)
+__rvm_parse_args:5> case gems (rm|remove)
+__rvm_parse_args:5> case gems (system|default)
+__rvm_parse_args:5> case gems (jruby|ree|macruby|rbx|rubinius|mput|shyouhei|ironruby|default|maglev|all)
+__rvm_parse_args:5> case gems (gems|gemset)
+__rvm_parse_args:47> rvm_action=gems
+__rvm_parse_args:48> [[ name == load ]]
+__rvm_parse_args:48> [[ dir == load ]]
+__rvm_parse_args:48> [[ list == load ]]
+__rvm_parse_args:48> [[ empty == load ]]
+__rvm_parse_args:48> [[ dump == load ]]
+__rvm_parse_args:48> [[ load == load ]]
+__rvm_parse_args:49> rvm_ruby_args='load rails3.gems'
+__rvm_parse_args:49> export 'rvm_load_flag=1'
+__rvm_parse_args:49> shift
+__rvm_parse_args:343> [[ -z gems ]]
+__rvm_parse_args:344> [[ ! -z '' ]]
+__rvm_parse_args:344> [[ ! -z '' ]]
+__rvm_parse_args:3> [[ 1 -gt 0 ]]
+__rvm_parse_args:4> rvm_token=rails3.gems
+__rvm_parse_args:4> shift
+__rvm_parse_args:5> case rails3.gems (fetch|info|version|srcdir|list|rubies|reset|debug|reload|implode|readline|update|iconv|curl|openssl|ncurses|zlib|monitor|notes|mono)
+__rvm_parse_args:5> case rails3.gems (use)
+__rvm_parse_args:5> case rails3.gems (inspect)
+__rvm_parse_args:5> case rails3.gems (install|uninstall)
+__rvm_parse_args:5> case rails3.gems (rm|remove)
+__rvm_parse_args:5> case rails3.gems (system|default)
+__rvm_parse_args:5> case rails3.gems (jruby|ree|macruby|rbx|rubinius|mput|shyouhei|ironruby|default|maglev|all)
+__rvm_parse_args:5> case rails3.gems (gems|gemset)
+__rvm_parse_args:5> case rails3.gems (gemdir)
+__rvm_parse_args:5> case rails3.gems (-S)
+__rvm_parse_args:5> case rails3.gems (-e)
+__rvm_parse_args:5> case rails3.gems (do|ruby|rake|gem|rubydo|rakedo|gemdo)
+__rvm_parse_args:5> case rails3.gems (benchmark|bench)
+__rvm_parse_args:5> case rails3.gems (specs|tests)
+__rvm_parse_args:5> case rails3.gems (-v|--version)
+__rvm_parse_args:5> case rails3.gems (--repository|--repo|--url)
+__rvm_parse_args:5> case rails3.gems (--ree-options)
+__rvm_parse_args:5> case rails3.gems (-t|--tag)
+__rvm_parse_args:5> case rails3.gems (--patch-name)
+__rvm_parse_args:5> case rails3.gems (-h|--patch)
+__rvm_parse_args:5> case rails3.gems (--head)
+__rvm_parse_args:5> case rails3.gems (--rev|--revision)
+__rvm_parse_args:5> case rails3.gems (-b|--branch)
+__rvm_parse_args:5> case rails3.gems (--bin)
+__rvm_parse_args:5> case rails3.gems (-j)
+__rvm_parse_args:5> case rails3.gems (-C|--configure)
+__rvm_parse_args:5> case rails3.gems (-r|--require)
+__rvm_parse_args:5> case rails3.gems (-I|--include)
+__rvm_parse_args:5> case rails3.gems (-f|--file)
+__rvm_parse_args:5> case rails3.gems (default|system)
+__rvm_parse_args:5> case rails3.gems (--install)
+__rvm_parse_args:5> case rails3.gems (-h|--help|usage|help)
+__rvm_parse_args:5> case rails3.gems (-G|--gems)
+__rvm_parse_args:5> case rails3.gems (--source)
+__rvm_parse_args:5> case rails3.gems (--archives)
+__rvm_parse_args:5> case rails3.gems (--make)
+__rvm_parse_args:5> case rails3.gems (--make-install)
+__rvm_parse_args:5> case rails3.gems (--nice)
+__rvm_parse_args:5> case rails3.gems (-l|--level)
+__rvm_parse_args:5> case rails3.gems (-m|--gem-set)
+__rvm_parse_args:5> case rails3.gems (--sdk)
+__rvm_parse_args:5> case rails3.gems (--archflags)
+__rvm_parse_args:5> case rails3.gems (--trace)
+__rvm_parse_args:5> case rails3.gems (--symlink)
+__rvm_parse_args:5> case rails3.gems (tests|specs)
+__rvm_parse_args:5> case rails3.gems (--disable-llvm|--disable-jit)
+__rvm_parse_args:5> case rails3.gems (--enable-llvm|--enable-jit)
+__rvm_parse_args:5> case rails3.gems (--self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--dump|--summary|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose|--load|--passenger|--editor)
+__rvm_parse_args:5> case rails3.gems (reboot|flush|asdf|damnit|wtf|argh|work|workdamnit|BOOM|boom|wth)
+__rvm_parse_args:5> case rails3.gems (--)
+__rvm_parse_args:5> case rails3.gems (*)
+__rvm_parse_args:293> [[ ! -z rails3.gems ]]
+__rvm_parse_args:294> [[ gems == gems ]]
+__rvm_parse_args:295> /Users/ashleymoran/.rvm/scripts/match rails3.gems '^.+%.+$'
+__rvm_parse_args:298> [[ !+__rvm_parse_args:298> echo rails3.gems
+__rvm_parse_args:298> [[ !+__rvm_parse_args:298> awk '/\.gems$/'
+__rvm_parse_args:298> [[ ! -z rails3.gems ]]
+__rvm_parse_args:299> rvm_file_name=+__rvm_parse_args:299> echo rails3.gems
+__rvm_parse_args:299> rvm_file_name=+__rvm_parse_args:299> sed 's#\.gems##g'
+__rvm_parse_args:299> rvm_file_name=rails3.gems
+__rvm_parse_args:337> [[ error == gems ]]
+__rvm_parse_args:343> [[ -z gems ]]
+__rvm_parse_args:344> [[ ! -z '' ]]
+__rvm_parse_args:344> [[ ! -z '' ]]
+__rvm_parse_args:3> [[ 0 -gt 0 ]]
+__rvm_parse_args:347> [[ 0 -gt 0 ]]
+__rvm_parse_args:349> [[ ! -z '' ]]
+ export rvm_trace_flag
+ rvm_ruby_gem_home=/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378
+ [[ -d /Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378 ]]
+ which gem
++ gem env home
+ rvm_ruby_gem_home=/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378
+ trap 'if [[ -d /Users/ashleymoran/.rvm/tmp/ ]] && [[ -f /Users/ashleymoran/.rvm/tmp/25117 ]] ; then rm -f /Users/ashleymoran/.rvm/tmp/25117 > /dev/null 2>&1 ; fi ; exit' 0 1 2 3 15
+ unset GEM_PATH
++ which gem
+ [[ -z /Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/bin/gem ]]
++ echo load rails3.gems
++ awk '{print $1}'
+ action=load
+ shift
++ awk '{$1="" ; print}'
++ echo
+ gem_args=
+ shift
+ [[ load = \l\o\a\d ]]
+ __rvm_gems_load
+ [[ ! -z /Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378 ]]
+ export GEM_HOME=/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378
+ GEM_HOME=/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378
+ export GEM_PATH=/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378/bin:/Users/ashleymoran/.rvm/gems/%global/bin
+ GEM_PATH=/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378/bin:/Users/ashleymoran/.rvm/gems/%global/bin
++ echo ''
++ awk '/\.gem.*$/'
+ [[ ! -z '' ]]
+ rvm_gem_set_name=
+ shift
+ [[ -f .gems ]]
+ [[ -f default.gems ]]
+ [[ -f system.gems ]]
+ [[ -f .gems ]]
+ /Users/ashleymoran/.rvm/scripts/log error 'No *.gems file found.'
+ export rvm_trace_flag
+ [[ ! -z No *.gems file found. ]]
+ level=error
+ shift
+ message='No *.gems file found.'
+ [[ -z 1 ]]
+ case "$level" in
+ shift
++ tput setaf 1
++ tput sgr0
+ echo -e '\nNo *.gems file found.\n'
No *.gems file found.
+ exit 0
+ return 1
+ exit 1
+ [[ -d /Users/ashleymoran/.rvm/tmp/ ]]
+ [[ -f /Users/ashleymoran/.rvm/tmp/25117 ]]
+ exit
rvm 0.1.9 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]
system:
uname: "Darwin basilisk.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386"
shell: "zsh"
version: "4.3.9"
ruby:
interpreter: "ruby"
version: "1.9.1p378"
date: "2010-01-10"
platform: "i386-darwin10.2.0"
patchlevel: "2010-01-10 revision 26273"
full_version: "ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.2.0]"
homes:
gem: "/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378"
ruby: "/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378"
binaries:
ruby: "/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/bin/ruby"
irb: "/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/bin/irb"
gem: "/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/bin/gem"
rake: "/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/bin/rake"
environment:
GEM_HOME: "/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378"
GEM_PATH: "/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378:/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378%global"
MY_RUBY_HOME: "/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378"
IRBRC: "/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/.irbrc"
PATH:
/Users/ashleymoran/.rvm/bin:/Users/ashleymoran/.rvm/bin:/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/bin:/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378/bin:/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378%global/bin
uname -a: Darwin basilisk.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
permissions: /Users/ashleymoran/.rvm:
total 24
drwxr-xr-x 17 ashleymoran ashleymoran 578 5 Feb 12:17 .
drwx---r-x 129 ashleymoran ashleymoran 4454 7 Feb 12:41 ..
-rw-r--r-- 1 ashleymoran ashleymoran 1038 7 Feb 12:34 LICENCE
-rw-r--r-- 1 ashleymoran ashleymoran 4722 7 Feb 12:34 README
drwxr-xr-x 7 ashleymoran ashleymoran 238 6 Feb 18:37 archives
drwxr-xr-x 10 ashleymoran ashleymoran 340 7 Feb 12:58 bin
drwxr-xr-x 8 ashleymoran ashleymoran 272 7 Feb 12:58 config
drwxr-xr-x 3 ashleymoran ashleymoran 102 4 Feb 17:06 examples
drwxr-xr-x 12 ashleymoran ashleymoran 408 6 Feb 18:44 gems
drwxr-xr-x 2 ashleymoran ashleymoran 68 4 Feb 17:06 hooks
drwxr-xr-x 5 ashleymoran ashleymoran 170 4 Feb 17:06 lib
drwxr-xr-x 7 ashleymoran ashleymoran 238 6 Feb 18:37 log
drwxr-xr-x 3 ashleymoran ashleymoran 102 7 Feb 12:45 rubies
drwxr-xr-x 33 ashleymoran ashleymoran 1122 7 Feb 12:34 scripts
drwxr-xr-x 6 ashleymoran ashleymoran 204 7 Feb 12:41 src
drwxr-xr-x 2 ashleymoran ashleymoran 68 4 Feb 17:06 tmp
drwxr-xr-x 6 ashleymoran ashleymoran 204 5 Feb 12:17 usr
/Users/ashleymoran/.rvm/rubies:
total 0
drwxr-xr-x 3 ashleymoran ashleymoran 102 7 Feb 12:45 .
drwxr-xr-x 17 ashleymoran ashleymoran 578 5 Feb 12:17 ..
drwxr-xr-x 7 ashleymoran ashleymoran 238 7 Feb 12:48 ruby-1.9.1-p378
uname -r: 10.2.0
uname -m: i386
sw_vers: ProductName: Mac OS X,ProductVersion: 10.6.2,BuildVersion: 10C540,
ARCHFLAGS: 
LDFLAGS: 
CFLAGS: 
/Developer/SDKs/*:MacOSX10.5.sdk,MacOSX10.6.sdk,
/Users/ashleymoran/.rvm/config/default (filtered):
export PATH="/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/bin:/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378/bin:/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378%global/bin:/Users/ashleymoran/.rvm/bin:$PATH"
export RUBY_VERSION='ruby 1.9.1p378'
export GEM_HOME='/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378'
export GEM_PATH='/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378:/Users/ashleymoran/.rvm/gems/ruby-1.9.1-p378%global'
export MY_RUBY_HOME='/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378'
export IRBRC='/Users/ashleymoran/.rvm/rubies/ruby-1.9.1-p378/.irbrc'
export rvm_ruby_string='ruby-1.9.1-p378'
unset rvm_gem_set_name
unset MAGLEV_HOME

/Users/ashleymoran/.rvm/config/system (filtered):
unset RUBY_VERSION
unset GEM_HOME
unset GEM_PATH
unset MY_RUBY_HOME

/Users/ashleymoran/.rvm/config/db (filtered):
niceness=0
ruby_repo_url=http://svn.ruby-lang.org/repos/ruby
ruby_configure=--enable-shared
interpreter=ruby
ruby_version=1.8.6
ruby_patchlevel=383
rbx_version=1.0.0
rbx_patch_level=rc2
rbx_url=http://asset.rubini.us/rubinius-1.0.0-rc2-20100104.tar.gz
ree_version=1.8.7
ree_1.8.6_patch_level=20090610
ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677
ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git
ree_1.8.7_url=http://rubyforge.org/frs/download.php/68719
ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187.git
ree_1.8.7_patch_level=2010.01
ruby_1.9.1_patch_level=378
ruby_1.9.2_patch_level=preview1
ruby_1.8.5_patch_level=231
ruby_1.8.6_patch_level=399
ruby_1.8.7_patch_level=249
jruby_version=1.4.0
jruby_repo_url=git://github.com/jruby/jruby.git
jruby_url=http://jruby.kenai.com/downloads
macruby_version=0.5
macruby_url=http://www.macruby.org/files
macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git
macruby_nightly_url=http://macruby.icoretech.org/latest/macruby_nightly-latest.pkg
maglev_version=22816
maglev_url=http://glass-downloads.gemstone.com/maglev
maglev_repo_url=git://github.com/MagLev/maglev.git
rubinius_repo_url=git://github.com/evanphx/rubinius.git
shyouhei_repo_url=git://github.com/shyouhei/ruby.git
ironruby_version=0.9.3
ironruby_repo_url=git://github.com/ironruby/ironruby.git
ironruby_url=http://cloud.github.com/downloads/nrk/ironruby/

/Users/ashleymoran/.gemrc (filtered):
---
:update_sources: true
:bulk_threshold: 1000
:verbose: true
:sources:
- http://gemcutter.org
- http://gems.rubyforge.org/
- http://gems.github.com/
:benchmark: false
:backtrace: false
gem: --no-rdoc --no-ri

gem sources:
http://gems.rubyforge.org/
http://gems.github.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment