发布时间: 2012-12-07 02:29:00
in ruby 1.8, we use: $ rspec spec
however, in 1.9 , we have to specify the current path, e.g. $ rspec spec -I .
more refer to : http://stackoverflow.com/questions/11376718/require-lib-in-rspec-with-ruby-1-9-2-brings-no-such-file-to-load
Back