diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-24 10:19:13 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-24 10:20:18 -0300 |
commit | 34ad8240f29c51285b2de3346ca555498c4dbb7f (patch) | |
tree | d6358bb7ff51e2998d25d7f0d44a9dbd0cffa1c7 /railties | |
parent | 709a554d1b08231defd2d7b34760c706e692dd8c (diff) | |
download | rails-34ad8240f29c51285b2de3346ca555498c4dbb7f.tar.gz rails-34ad8240f29c51285b2de3346ca555498c4dbb7f.tar.bz2 rails-34ad8240f29c51285b2de3346ca555498c4dbb7f.zip |
Always use the released coffee-rails in new applications
coffee-rails is stable now so we don't need to point to the master
branch.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index dd63cdbf81..ed4e73fb90 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -311,12 +311,7 @@ module Rails end def coffee_gemfile_entry - comment = 'Use CoffeeScript for .coffee assets and views' - if options.dev? || options.edge? - GemfileEntry.github 'coffee-rails', 'rails/coffee-rails', nil, comment - else - GemfileEntry.version 'coffee-rails', '~> 4.1.0', comment - end + GemfileEntry.version 'coffee-rails', '~> 4.1.0', 'Use CoffeeScript for .coffee assets and views' end def javascript_gemfile_entry |