> autoload :Nokogiri, 'nokogiri'
> Nokogiri
> 
> autoload_fail.rb:2:in `<main>': no such file to load -- nokogiri
> (LoadError)

http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#gem_loading_fails_191

It would be nice if gems could do this.
Luis' way of

gem 'nokogiri'
autoload :Nokogiri, 'nokogiri'

should work I think.

If you want the old behavior to still work you could use faster_rubygems 
gem.
-r
-- 
Posted via http://www.ruby-forum.com/.