mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Tidy up
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user