README.md in coffee-rails-4.1.0 vs README.md in coffee-rails-4.1.1

- old
+ new

@@ -1,26 +1,22 @@ # Coffee-Rails -CoffeeScript adapter for the Rails asset pipeline. Also adds support to use CoffeeScript to respond to JavaScript requests (use .js.coffee views). +CoffeeScript adapter for the Rails asset pipeline. Also adds support to use CoffeeScript to respond to JavaScript requests (use `.coffee` views). ## Installation 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: - gem 'coffee-rails' +~~~ruby +gem 'coffee-rails' +~~~ -If you are precompiling your assets (with rake assets:precompile) before run your application in production, you might want add it to the assets group to prevent the gem being required in the production environment. _Note that this may prevent you from using Coffeescript for UJS responses_. - - group :assets do - gem 'coffee-rails' - end - ## Running tests $ bundle install $ bundle exec rake test -If you need to test against local gems, use Bundler's gem :path option in the Gemfile. +If you need to test against local gems, use Bundler's gem `:path` option in the Gemfile. ## Code Status * [![Travis CI](https://api.travis-ci.org/rails/coffee-rails.png)](http://travis-ci.org/rails/coffee-rails) * [![Gem Version](https://badge.fury.io/rb/coffee-rails.png)](http://badge.fury.io/rb/coffee-rails)