1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
Rafael Mendonça França 2016-02-24 10:19:13 -03:00
parent 709a554d1b
commit 34ad8240f2

View file

@ -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