I just installed the gem Jasminerice in a Ruby-on-rails project. Following the instructions on Jasminerice Github I created a spec, started the rails server, and navigated to the /jasmine route.
Although the spec was written to pass, it failed with ReferenceError: jQuery is not defined
In
spec/javascripts/spec.js.coffeeSimply add the line
#= require jquerybefore
#= require_tree ./