Bundler.require *Rails.groups(:assets => %w(development test))
in config/application.rb