Bug #4233: autoload Can't Require Gems
http://redmine.ruby-lang.org/issues/show/4233

Author: Run Paint Run Run
Status: Open, Priority: Normal
Category: core
ruby -v: ruby 1.9.3dev (2011-01-05 trunk 30456) [x86_64-linux] 

Is it intentional that when used via `autoload`, `require` can't handle Gem names?

    run@desktop:~/mir/ruby$  вк  ruby -e 'p require "nokogiri"'
    true
    run@desktop:~/mir/ruby$  вк  ruby -e 'autoload(:N, "nokogiri"); p N'
    -e:1:in `<main>': cannot load such file -- nokogiri (LoadError)


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