ruby/ruby — pull request #139 by LTe (2012-07-05 09:58:54+00:00)
Title: Allow to use require_relative from eval and irb environment

**Before patch**

```ruby
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
``