Project

General

Profile

« Previous | Next » 

Revision d666c6c4

Added by Ewoud Kohl van Wijngaarden almost 6 years ago

Fixes #23579 - Use a bundler group for assets

View differences:

config/application.rb
end
end
Bundler.require(*Rails.groups)
optional_bundler_groups = %w[assets]
if SETTINGS[:unattended]
%w[ec2 fog gce libvirt openstack ovirt rackspace vmware].each do |group|
begin
Bundler.require(group)
rescue LoadError
# ignoring intentionally
end
optional_bundler_groups += %w[ec2 fog gce libvirt openstack ovirt rackspace vmware]
end
optional_bundler_groups.each do |group|
begin
Bundler.require(group)
rescue LoadError
# ignoring intentionally
end
end
end

Also available in: Unified diff