Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

exclude active storage requirement #144

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion test/dummy/config/application.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
require File.expand_path('../boot', __FILE__)

require 'rails/all'
require "rails"

# exclude active_storage (snippet from https://github.com/rails/rails/blob/5-2-stable/railties/lib/rails/all.rb)
%w(
active_record/railtie
action_controller/railtie
action_view/railtie
action_mailer/railtie
active_job/railtie
action_cable/engine
rails/test_unit/railtie
sprockets/railtie
).each do |railtie|
begin
require railtie
rescue LoadError
end
end

Bundler.require
require "librato-rails"
Expand Down