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
caacf85673
commit
54463592cb
2 changed files with 4 additions and 5 deletions
|
@ -200,9 +200,11 @@ module Rails
|
||||||
|
|
||||||
def assets_gemfile_entry
|
def assets_gemfile_entry
|
||||||
<<-GEMFILE.strip_heredoc
|
<<-GEMFILE.strip_heredoc
|
||||||
|
# Gems used only for assets and not required
|
||||||
|
# in production environments by default.
|
||||||
group :assets do
|
group :assets do
|
||||||
gem 'sass-rails', :git => 'git://github.com/rails/sass-rails'
|
gem 'sass-rails', :git => 'git://github.com/rails/sass-rails.git'
|
||||||
gem 'coffee-rails', :git => 'git://github.com/rails/coffee-rails'
|
gem 'coffee-rails', :git => 'git://github.com/rails/coffee-rails.git'
|
||||||
gem 'uglifier'
|
gem 'uglifier'
|
||||||
end
|
end
|
||||||
GEMFILE
|
GEMFILE
|
||||||
|
|
|
@ -7,10 +7,7 @@ source 'http://rubygems.org'
|
||||||
<%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) -%>
|
<%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) -%>
|
||||||
<%= "gem 'json'\n" if RUBY_VERSION < "1.9.2" -%>
|
<%= "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 %>
|
<%= assets_gemfile_entry %>
|
||||||
|
|
||||||
<%= javascript_gemfile_entry %>
|
<%= javascript_gemfile_entry %>
|
||||||
|
|
||||||
# Use unicorn as the web server
|
# Use unicorn as the web server
|
||||||
|
|
Loading…
Reference in a new issue