General

Profile

LTe (Piotr Niełacny)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 0 0

Activity

07/06/2012

04:04 PM Ruby Bug #4487: require_relative fails in an eval'ed file
@shyouhei yes I agree but load method tries to load file from relative path. When load method can't find file in relative path it loads from $LOAD_PATH. The same can be done by require_relative (recognize path).
https://github.com/rub...
LTe (Piotr Niełacny)

07/05/2012

05:07 PM Ruby Bug #4487: require_relative fails in an eval'ed file
=begin
If in irb we can execute
(({load("file.rb")}))
why we can't
(({require_relative("file")}))
Ruby just return exception (LoadError: cannot infer basepath). Unfortunately, this is a 'lie' because ruby can recognize basep...
LTe (Piotr Niełacny)

Also available in: Atom