1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
This commit is contained in:
Santiago Pastorino 2011-07-28 16:46:39 -03:00 committed by Xavier Noria
parent 018b1315b5
commit 651a9c93be
2 changed files with 4 additions and 5 deletions

View file

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

View file

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