Skip to content
Newer
Older
100644 23 lines (13 sloc) 813 Bytes
de6c4f8 @guilleiguaran Add a simple README
guilleiguaran authored Aug 16, 2011
1 # Coffee-Rails
2
6e8f9f4 @pda "CoffeeScript", not "Coffee Script", in README and gemspec.
pda authored Apr 23, 2012
3 CoffeeScript adapter for the Rails asset pipeline. Also adds support to use CoffeeScript to respond to JavaScript requests (use .js.coffee views).
de6c4f8 @guilleiguaran Add a simple README
guilleiguaran authored Aug 16, 2011
4
5 ## Installation
6
7 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:
8
9 gem 'coffee-rails'
10
11 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.
12
13 group :assets do
14 gem 'coffee-rails'
15 end
16
17 ## Running tests
18
19 $ bundle install
20 $ bundle exec rake test
21
22 If you need to test against local gems, use Bundler's gem :path option in the Gemfile.
Something went wrong with that request. Please try again.