On Wed, 2012-08-01 at 14:55 +0200, Michal Fojtik wrote:
> Hi,
>
> Seems like a missing 'require "rubygems"' for me.
>
> Do you want me to add this into all files or we are good with:
>
> export RUBYOPT="rubygems" ?
I don't want to rely on env vars for running tests. I am thinking that
each test file should start with
require 'require_relative'
require_relative './common'
and then each common.rb with
require 'require_relative'
require_relative './test_helper'
and then require rubygems first thing in test_helper.
That sort of setup should avoid these issues.
David