I am having errors on the Jenkins server:
$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
When rspec starts, I get the following error:
undefined method `using' for #<Class:0x000000026f9c88> (NoMethodError)
the same code works on my local computer with ruby2. Here is my version: ruby 2.0.0dev (2012-12-01 trunk 38126) [x86_64-linux]
In addition, it works on irb. It seems that ruby does not recognize the statement usingwhen the script is run.
Here is the code:
describe "blah" do
include TestHelper
using TestHelper::BrowserRefinement
...
end
Clarification: Clarification is defined in another file. I scourge interwebs to see if there is a difference between versions r39474and r38126.
source
share