Since Rails 3.1 Coffee-Rails is included in the default Gemfile when you create a new application. If you are upgrading to Rails 3.1 you must add the coffee-rails to your Gemfile:
$ bundle install $ bundle exec rake test
If you need to test against local gems, use Bundler’s gem
:path option in the Gemfile.