R
Rickard Bennekom
Platform: Windows XP 32-Bit.
Preliminaries: Fresh Ruby install (Ruby 1.9.2-p0 Binary).
After running 'gem install nokogiri' (any other gem can be chosen) the
$LOAD_PATH remains unchanged.
Unlike Ruby 1.9.1, the $LOAD_PATH is first populated with the
gem-specific paths after a 'require "nokogiri"'.
Since Rubygems doesn't intercept autoloading, the following snippet
fails on Ruby 1.9.2:
autoload :Nokogiri, 'nokogiri'
Nokogiri
autoload_fail.rb:2:in `<main>': no such file to load -- nokogiri
(LoadError)
Preliminaries: Fresh Ruby install (Ruby 1.9.2-p0 Binary).
After running 'gem install nokogiri' (any other gem can be chosen) the
$LOAD_PATH remains unchanged.
Unlike Ruby 1.9.1, the $LOAD_PATH is first populated with the
gem-specific paths after a 'require "nokogiri"'.
Since Rubygems doesn't intercept autoloading, the following snippet
fails on Ruby 1.9.2:
autoload :Nokogiri, 'nokogiri'
Nokogiri
autoload_fail.rb:2:in `<main>': no such file to load -- nokogiri
(LoadError)