Jasmine does not currently support the asset pipeline, but there’s a lovely gem called jasmine-rails that will give us this support. Used in conjunction with jasmine-headless-webkit, you can run your specs in Terminal, similar to rspec rather than in the browser (and it’s fast!). I’ve setup a boilerplate on Github for full reference.
Add to your Gemfile
First, lets add the necessary dependencies.
group :development, :test do