From: "shyouhei (Shyouhei Urabe)" Date: 2012-11-19T12:23:28+09:00 Subject: [ruby-core:49555] [ruby-trunk - Bug #7391] Allow to use require_relative from eval and irb environment Issue #7391 has been updated by shyouhei (Shyouhei Urabe). Description updated Please read this related issue. http://bugs.ruby-lang.org/issues/4487 ---------------------------------------- Bug #7391: Allow to use require_relative from eval and irb environment https://bugs.ruby-lang.org/issues/7391#change-33079 Author: zzak (Zachary Scott) Status: Open Priority: Normal Assignee: shyouhei (Shyouhei Urabe) Category: core Target version: ruby -v: 1.9.3 =begin From github: https://github.com/ruby/ruby/pull/139 Before patch 1.9.3p125 :001 > require_relative "file" LoadError: cannot infer basepath from irb:1:in 'require_relative' from irb:1 from /home/lite/.rvm/rubies/ruby-1.9.3-p125-perf/bin/irb:16:in '
' After patch 1.9.3p125 :001 > require_relative "file" #=> true =end -- http://bugs.ruby-lang.org/