Run ruby test and include require

I want to run a test for the gem mini_magick:

I got the directory lib, inside of which i got:

  • mini_magick.rb
  • mini_gmagick.rb

and inside of the test folder is the test i need to run:

  • image_test.rb
    and a helper file called:
  • test_helper.rb

When i run
ruby test/image_test.rb
i get this error:

$ ruby test/image_test.rb 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- test_helper (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from test/image_test.rb:1:in `<main>'

I was adviced to use -l to include libraries (similar to):

ruby -l lib -l test/test_helper.rb test/image_test.rb

but without success. So i looked at "man ruby", found -r, but that didn't help neither.

How can i run the tests manually ?
Thanks in advance.

Using the full path would work:

require '~/Build/build_mini_magick/ruby-mini-magick/ruby-mini-magick/test/test_helper'

But if i understand this correct:
Ruby require local file problem - Ruby Forum
then i don't understand why require 'test_helper' doesn't work. I run it from the working directory, which contains image_test.rb and test_helper.rb.