From: "usa (Usaku NAKAMURA)" Date: 2012-12-21T22:24:58+09:00 Subject: [ruby-core:51049] [ruby-trunk - Bug #7391][Assigned] Allow to use require_relative from eval and irb environment Issue #7391 has been updated by usa (Usaku NAKAMURA). Status changed from Open to Assigned ---------------------------------------- Bug #7391: Allow to use require_relative from eval and irb environment https://bugs.ruby-lang.org/issues/7391#change-34956 Author: zzak (Zachary Scott) Status: Assigned 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/