Project

General

Profile

Bug #7391

Updated by shyouhei (Shyouhei Urabe) about 12 years ago

=begin 
 From github: https://github.com/ruby/ruby/pull/139 

 Before patch 

  1.9.3p125 

 (({1.9.3p125 :001 > require_relative "file" 
  LoadError: "file"})) 

 (({LoadError: cannot infer basepath 
  from basepath})) 

 (({from irb:1:in 'require_relative' 
  from irb:1 
  from 'require_relative'})) 

 (({from irb:1})) 

 (({from /home/lite/.rvm/rubies/ruby-1.9.3-p125-perf/bin/irb:16:in '<main>' '<main>'})) 

 After patch 

  1.9.3p125 

 (({1.9.3p125 :001 > require_relative "file" #=> true true})) 

 =end

Back