Skip to content

Instantly share code, notes, and snippets.

@ashmoran
Created February 6, 2010 22:17
Show Gist options
  • Save ashmoran/296993 to your computer and use it in GitHub Desktop.
Save ashmoran/296993 to your computer and use it in GitHub Desktop.
% cat rails3.gems
# rails3.gems generated gem dump file. Note that any env variable settings will be missing. Append these after using a ';' field separator
tzinfo -v0.3.16
builder -v2.1.2
memcache-client -v1.7.8
rack -v1.1.0
rack-test -v0.5.3
rack-mount -v0.4.5
abstract -v1.0.0
erubis -v2.6.5
activesupport -v2.3.5
mime-types -v1.16
mail -v2.1.2
text-hyphen -v1.0.0
text-format -v1.0.0
thor -v0.13.0
abstract -v1.0.0
i18n -v0.3.3
rake -v0.8.7
bundler -v0.9.3
arel -v0.2.pre
railties -v3.0.0.beta
rails -v3.0.0.beta
% 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)
+__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)
+__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> [[ !+__rvm_parse_args:298> echo rails3.gems
+__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=
+ [[ -d '' ]]
+ trap 'if [[ -d /Users/ashleymoran/.rvm/tmp/ ]] && [[ -f /Users/ashleymoran/.rvm/tmp/44895 ]] ; then rm -f /Users/ashleymoran/.rvm/tmp/44895 > /dev/null 2>&1 ; fi ; exit' 0 1 2 3 15
+ unset GEM_PATH
++ which gem
+ [[ -z /opt/local/bin/gem ]]
++ echo load rails3.gems
++ awk '{print $1}'
+ action=load
+ shift
+ gems_args=
+ [[ load = \l\o\a\d ]]
+ __rvm_gems_load
+ [[ ! -z '' ]]
++ 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/44895 ]]
+ exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment