mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Tidy up
This commit is contained in:
parent
018b1315b5
commit
651a9c93be
2 changed files with 4 additions and 5 deletions
|
@ -200,9 +200,11 @@ module Rails
|
|||
|
||||
def assets_gemfile_entry
|
||||
<<-GEMFILE.strip_heredoc
|
||||
# Gems used only for assets and not required
|
||||
# in production environments by default.
|
||||
group :assets do
|
||||
gem 'sass-rails', :git => 'git://github.com/rails/sass-rails'
|
||||
gem 'coffee-rails', :git => 'git://github.com/rails/coffee-rails'
|
||||
gem 'sass-rails', :git => 'git://github.com/rails/sass-rails.git'
|
||||
gem 'coffee-rails', :git => 'git://github.com/rails/coffee-rails.git'
|
||||
gem 'uglifier'
|
||||
end
|
||||
GEMFILE
|
||||
|
|
|
@ -7,10 +7,7 @@ source 'http://rubygems.org'
|
|||
<%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) -%>
|
||||
<%= "gem 'json'\n" if RUBY_VERSION < "1.9.2" -%>
|
||||
|
||||
# Gems used only for assets and not required
|
||||
# in production environments by default.
|
||||
<%= assets_gemfile_entry %>
|
||||
|
||||
<%= javascript_gemfile_entry %>
|
||||
|
||||
# Use unicorn as the web server
|
||||
|
|
Loading…
Reference in a new issue