Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino authored and fxn committed Aug 13, 2011
1 parent 018b131 commit 651a9c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions railties/lib/rails/generators/app_base.rb
Expand Up @@ -200,9 +200,11 @@ def turn_gemfile_entry


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
Expand Down
3 changes: 0 additions & 3 deletions railties/lib/rails/generators/rails/app/templates/Gemfile
Expand Up @@ -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
Expand Down

0 comments on commit 651a9c9

Please sign in to comment.