Issue #3010 has been updated by Roger Pack.


It appears that you can avoid the use of gem prelude by doing something like

require 'rubygems'
gem 'xxx'
require 'xxx'

If you run it with 1.9.x with "--disable-gems" thusly, for me it gives 

1.8.6: 1.0s
1.9.1 --disable-gems: 1.1s
1.9.1 normal: 4s

Hmm.
Appears that the slowdown (here at least) is by calls to Kernel#require taking quite awhile.
http://gist.github.com/344167

On Linux for me, however, 1.8.6 takes 0.3s, 1.9.2 (with gem prelude) takes 0.5s, so not as bad of a difference.

-rp
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3010

----------------------------------------
http://redmine.ruby-lang.org