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:
parent
709a554d1b
commit
34ad8240f2
1 changed files with 1 additions and 6 deletions
|
@ -311,12 +311,7 @@ module Rails
|
||||||
end
|
end
|
||||||
|
|
||||||
def coffee_gemfile_entry
|
def coffee_gemfile_entry
|
||||||
comment = 'Use CoffeeScript for .coffee assets and views'
|
GemfileEntry.version 'coffee-rails', '~> 4.1.0', '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
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def javascript_gemfile_entry
|
def javascript_gemfile_entry
|
||||||
|
|
Loading…
Reference in a new issue