Issue #4233 has been updated by mame (Yusuke Endoh).

Status changed from Assigned to Closed

Seems this issue was fixed.  Closing.

----------------------------------------
Feature #4233: autoload Can't Require Gems
https://bugs.ruby-lang.org/issues/4233#change-67977

* Author: runpaint (Run Paint Run Run)
* Status: Closed
* Priority: Normal
* Assignee: nahi (Hiroshi Nakamura)
* 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 `<main>': cannot load such file -- nokogiri (LoadError)
=end




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>