Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Created February 25, 2010 04:27
Show Gist options
  • Select an option

  • Save BanzaiMan/314236 to your computer and use it in GitHub Desktop.

Select an option

Save BanzaiMan/314236 to your computer and use it in GitHub Desktop.
aotearoa:jruby_test$ unset JRUBY_OPTS
aotearoa:jruby_test$ cat jruby-shebang.rb
#!/usr/bin/env jruby -J-Djruby.debug.loadService.timing=true
require 'rubygems'
aotearoa:jruby_test$ ./jruby-shebang.rb
-> builtin/core_ext/symbol
<- builtin/core_ext/symbol - 38ms
-> enumerator
<- enumerator - 4ms
-> rubygems
-> rubygems/defaults
<- rubygems/defaults - 4ms
-> thread
<- thread - 5ms
-> etc
<- etc - 8ms
-> rbconfig
<- rbconfig - 117ms
-> rubygems/exceptions
<- rubygems/exceptions - 5ms
-> rubygems/version
<- rubygems/version - 20ms
-> rubygems/requirement
-> rubygems/version
<- rubygems/version - 0ms
<- rubygems/requirement - 10ms
-> rubygems/dependency
-> rubygems/requirement
<- rubygems/requirement - 0ms
<- rubygems/dependency - 10ms
-> rubygems/gem_path_searcher
<- rubygems/gem_path_searcher - 5ms
-> rubygems/source_index
-> rubygems/user_interaction
<- rubygems/user_interaction - 15ms
-> rubygems/specification
-> rubygems/version
<- rubygems/version - 1ms
-> rubygems/requirement
<- rubygems/requirement - 0ms
-> rubygems/platform
<- rubygems/platform - 10ms
<- rubygems/specification - 130ms
<- rubygems/source_index - 183ms
-> rubygems/platform
<- rubygems/platform - 0ms
-> rubygems/builder
<- rubygems/builder - 27ms
-> rubygems/defaults/operating_system
<- rubygems/defaults/operating_system - 22ms
-> rubygems/defaults/jruby
-> rubygems/config_file
-> Win32API
-> rbconfig
<- rbconfig - 0ms
<- Win32API - 8ms
<- rubygems/config_file - 27ms
-> rubygems/source_index
<- rubygems/source_index - 0ms
-> rubygems/defaults/jruby_native
<- rubygems/defaults/jruby_native - 1ms
<- rubygems/defaults/jruby - 171ms
-> rubygems/config_file
<- rubygems/config_file - 1ms
-> rubygems/custom_require
-> rubygems
<- rubygems - 1ms
<- rubygems/custom_require - 17ms
-> yaml
-> stringio
<- stringio - 7ms
-> yaml/compat
<- yaml/compat - 2ms
-> yaml/error
<- yaml/error - 2ms
-> yaml/yecht
-> yecht
<- yecht - 95ms
-> yaml/basenode
-> yaml/ypath
<- yaml/ypath - 3ms
<- yaml/basenode - 11ms
<- yaml/yecht - 108ms
-> yaml/tag
<- yaml/tag - 3ms
-> yaml/stream
<- yaml/stream - 2ms
-> yaml/constants
<- yaml/constants - 3ms
-> yaml/rubytypes
-> date
-> rational
<- rational - 31ms
-> date/format
-> rational
<- rational - 0ms
<- date/format - 210ms
<- date - 574ms
-> yaml/compat
<- yaml/compat - 0ms
<- yaml/rubytypes - 671ms
-> yaml/types
-> yaml/compat
<- yaml/compat - 1ms
<- yaml/types - 12ms
<- yaml - 832ms
-> jruby/util
<- jruby/util - 3ms
<- rubygems - 2325ms
aotearoa:jruby_test$ rvm use jruby-1.4.0
Now using jruby 1.4.0
aotearoa:jruby_test$ ./jruby-shebang.rb
aotearoa:jruby_test$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment