Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update the call to Bundler.require in application.rb since assets gro…

…up doesn't exist anymore in Gemfile
  • Loading branch information...
commit e2df5d08383ca7229c7504fbde7051592d3c8442 1 parent 59d20af
Guillermo Iguaran guilleiguaran authored
5 railties/lib/rails/generators/rails/app/templates/config/application.rb
View
@@ -11,8 +11,9 @@
<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
<% end -%>
-# Assets should be precompiled for production (so we don't need the gems loaded then)
-Bundler.require(*Rails.groups(assets: %w(development test)))
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(:default, Rails.env)
module <%= app_const_base %>
class Application < Rails::Application
Please sign in to comment.
Something went wrong with that request. Please try again.