From: "mame (Yusuke Endoh)" Date: 2012-11-24T11:31:30+09:00 Subject: [ruby-core:49978] [ruby-trunk - Feature #4233] autoload Can't Require Gems Issue #4233 has been updated by mame (Yusuke Endoh). Target version changed from 2.0.0 to next minor Thank you drbrain for the explanation! Recently, nahi is not so active. So, I'm sorry but I recognize this as a (bad) spec of 2.0.0. -- Yusuke Endoh ---------------------------------------- Feature #4233: autoload Can't Require Gems https://bugs.ruby-lang.org/issues/4233#change-33745 Author: runpaint (Run Paint Run Run) Status: Assigned Priority: Normal Assignee: nahi (Hiroshi Nakamura) Category: core Target version: next minor =begin 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 `
': cannot load such file -- nokogiri (LoadError) =end -- http://bugs.ruby-lang.org/