Re: Running "rake jasmine" and "rake jasmine:ci" die with ERROR TypeError: can't convert nil into String

250 views
Skip to first unread message

Luke Fender

unread,
Jun 19, 2013, 1:24:35 PM6/19/13
to jasmi...@googlegroups.com
This happened to me when I renamed spec/javascripts to something else. The gem itself is looking for spec/javascripts.

On Monday, April 29, 2013 4:29:29 PM UTC-4, Jeffrey Huber wrote:
Running "rails s" and then pointing my browser to "http://localhost:3000/jasmine" works fine.

However running "rake jasmine" or "rake jasmine:ci" blows up.

Here is the full trace:


There seem to be multiple fail points including:

[2013-04-29 13:08:38] ERROR TypeError: can't convert nil into String

/Users/jeff/src/app-name/vendor/gems/ruby/1.9.1/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/remote/response.rb:52:in `assert_ok': ReferenceError: jsApiReporter is not defined (Selenium::WebDriver::Error::JavascriptError)

/opt/boxen/rbenv/versions/1.9.3-p392/bin/ruby -S rspec /Users/jeff/src/app-name/vendor/gems/ruby/1.9.1/gems/jasmine-1.3.2/lib/jasmine/run_specs.rb --colour --format progress -r /Users/jeff/src/app-name/config/environment failed

I am using Boxen and rbenv. I have the gem "rspec" included before "jasmine." This is also a rails app so I am using "sinon-rails' and "jasminerice"

Any tips and direction would be awesome!
Reply all
Reply to author
Forward
0 new messages