2013/4/6 Aaron Patterson <tenderlove / ruby-lang.org>:

> Ok.  So if you move `test_objspace.rb` to 'test/foo/bar', now you have
> to modify the source of `test_objspace.rb`.  Why does the source file
> depend on the file system location?

I think it is better than other ways.

> export RUBYOPT='-Itest/ruby'

It is problematic on multi user system.
Consider someone creates /tmp/test/ruby/rubygems.rb as "puts 'hahaha'" or
another dangerous program and you run ruby in /tmp.
-- 
Tanaka Akira