diff options
author | Joshua Peek <josh@joshpeek.com> | 2011-04-13 09:57:22 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2011-04-13 09:57:22 -0500 |
commit | 9f09aeb8273177fc2d09ebdafcc76ee8eb56fe33 (patch) | |
tree | b9c5f15db27e0ff9e39f3ab3f2ab6154b1570e93 | |
parent | 9333ca74b37c6c24262783daf118984621ace69e (diff) | |
download | rails-9f09aeb8273177fc2d09ebdafcc76ee8eb56fe33.tar.gz rails-9f09aeb8273177fc2d09ebdafcc76ee8eb56fe33.tar.bz2 rails-9f09aeb8273177fc2d09ebdafcc76ee8eb56fe33.zip |
Include CoffeeScript in Gemfile
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 7f8a574eab..facafb00c0 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -134,7 +134,8 @@ module Rails gem 'arel', :git => 'git://github.com/rails/arel.git' gem 'rack', :git => 'git://github.com/rack/rack.git' gem 'sprockets', :git => "git://github.com/sstephenson/sprockets.git" - gem 'json' # Sprockets dependency + gem 'coffee-script' + gem 'json' # CoffeeScript and Sprockets dependency GEMFILE elsif options.edge? <<-GEMFILE.strip_heredoc @@ -142,7 +143,8 @@ module Rails gem 'arel', :git => 'git://github.com/rails/arel.git' gem 'rack', :git => 'git://github.com/rack/rack.git' gem 'sprockets', :git => "git://github.com/sstephenson/sprockets.git" - gem 'json' # Sprockets dependency + gem 'coffee-script' + gem 'json' # CoffeeScript and Sprockets dependency GEMFILE else <<-GEMFILE.strip_heredoc |