Project

General

Profile

Actions

Feature #4233

closed

autoload Can't Require Gems

Added by runpaint (Run Paint Run Run) almost 14 years ago. Updated about 7 years ago.

Status:
Closed
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

Like0
Like0Like0Like0Like0Like0Like0