Skip to content

Commit

Permalink
Update the call to Bundler.require in application.rb since assets gro…
Browse files Browse the repository at this point in the history
…up doesn't exist anymore in Gemfile
  • Loading branch information
guilleiguaran committed Mar 28, 2013
1 parent 59d20af commit e2df5d0
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -11,8 +11,9 @@
<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie" <%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
<% end -%> <% end -%>
# Assets should be precompiled for production (so we don't need the gems loaded then) # Require the gems listed in Gemfile, including any gems
Bundler.require(*Rails.groups(assets: %w(development test))) # you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env)
module <%= app_const_base %> module <%= app_const_base %>
class Application < Rails::Application class Application < Rails::Application
Expand Down

0 comments on commit e2df5d0

Please sign in to comment.