C:\dev\ruby\ties>ruby test/functional/store_controller_test.rb
test/functional/store_controller_test.rb:1:in `require’: no such file to load — test/functional/../test_helpertest/functional/store_controller_test.rb:1:in `<main>’
C:\dev\ruby\ties>ruby test/functional/store_controller_test.rb
test/functional/store_controller_test.rb:1:in `require’: no such file to load — test/functional/../test_helper (LoadError)
from test/functional/store_controller_test.rb:1:in `<main>’
meant “you can’t use File.dirname–you [apparently] need to use File.expand_path(File.dirname) with 1.9.2 since it hates relatives paths and dirname gives a relative path”
Hi Roger,
Or simply $:.unshift “.” ( via raggi )
Comment by Lourens — August 10, 2009 @ 9:52 pm
yeah–just hard from the command line
I suppose that’s the first thing we’ll all put in our ruby scripts when we shift to 1.9.2
Comment by rogerdpack — August 10, 2009 @ 10:08 pm