Project

General

Profile

Actions

Feature #4233

closed

autoload Can't Require Gems

Added by runpaint (Run Paint Run Run) almost 11 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:34104]

Description

=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

Actions

Also available in: Atom PDF