Skip to content

Instantly share code, notes, and snippets.

@bensheldon
Created July 26, 2025 00:23
Show Gist options
  • Save bensheldon/8feae0ed495f91e9e951745a1196e716 to your computer and use it in GitHub Desktop.
Save bensheldon/8feae0ed495f91e9e951745a1196e716 to your computer and use it in GitHub Desktop.
❯ OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES bin/test test/application/loading_test.rb:560
Run options: --seed 3148
# Running:
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::Specification::NOT_FOUND is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::RubyGemsVersion is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::ConfigMap is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::List is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::SpecificGemNotFoundException is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant DidYouMean::PlainFormatter is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Bundler::LockfileParser::ENVIRONMENT_VERSION_SECTIONS is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant ERB::Revision is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant I18n::INTERPOLATION_PATTERN is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::Specification::NOT_FOUND is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::RubyGemsVersion is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::ConfigMap is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::List is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Gem::SpecificGemNotFoundException is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant DidYouMean::PlainFormatter is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant Bundler::LockfileParser::ENVIRONMENT_VERSION_SECTIONS is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant ERB::Revision is deprecated
/Users/bensheldon/Repositories/rails/rails/railties/test/application/loading_test.rb:571: warning: constant I18n::INTERPOLATION_PATTERN is deprecated
E
Error:
LoadingTest#test_rails_framework_constants_marked_for_autoloading_are_not_loaded_during_initialization:
RuntimeError: The following constants were marked for autoloading but were loaded during initialization:
ActionDispatch::MiddlewareStack
ActionDispatch::Http::URL
ActionDispatch::Http::Headers
ActionDispatch::Http::MimeNegotiation
ActionDispatch::Http::Parameters
ActionDispatch::Http::Cache
ActionDispatch::ParamBuilder
ActionDispatch::QueryParser
ActionDispatch::ExceptionWrapper
ActionDispatch::Session::CookieStore
ActionDispatch::Session::AbstractStore
ActionDispatch::Session::AbstractSecureStore
ActionDispatch::Cookies
ActionDispatch::Routing::Mapper
ActionDispatch::Executor
ActionDispatch::ContentSecurityPolicy
ActionDispatch::HostAuthorization
ActionDispatch::RequestId
ActionDispatch::ActionableExceptions
ActionDispatch::Callbacks
ActionDispatch::DebugExceptions
ActionDispatch::Flash
ActionDispatch::PublicExceptions
ActionDispatch::RemoteIp
ActionDispatch::ServerTiming
ActionDispatch::ShowExceptions
ActionDispatch::Static
ActionDispatch::Reloader
ActionDispatch::Request
ActionDispatch::Response
ActionText::Attachments::Caching
ActionText::Attachments::TrixConversion
ActionText::Attachments::Minification
ActionText::Attachment
ActionMailer::Base
ActionView::Template
ActionView::CacheExpiry
ActionView::PathRegistry
ActionView::AbstractRenderer
ActionView::PartialRenderer
ActiveModel::SecurePassword
GlobalID::Verifier
Object::SignedGlobalID
ActiveStorage::Previewer
ActiveStorage::Transformers::Transformer
ActiveStorage::Transformers::ImageProcessingTransformer
ActiveStorage::Transformers::Vips
ActiveStorage::Attached
ActiveStorage::Service
ActiveStorage::Analyzer
Rack::BodyProxy
Rack::ConditionalGet
Rack::ETag
Rack::Files
Rack::Head
Rack::MethodOverride
Rack::Sendfile
Rack::TempfileReaper
ActiveRecord::Middleware::DatabaseSelector
ActiveRecord::Middleware::ShardSelector
ActiveRecord::Scoping::Named
ActiveRecord::Migration::Compatibility
ActiveRecord::Migration::Current::CommandRecorder
ActiveRecord::Migration::Current::JoinTable
ActiveRecord::Associations
ActiveRecord::Marshalling
ActiveRecord::ConnectionAdapters
ActiveRecord::QueryCache
ActiveRecord::QueryLogs
ActiveRecord::RuntimeRegistry
ActiveRecord::SecureToken
ActiveRecord::AsynchronousQueriesTracker
ActionCable::Engine
ActionCable::Server
ActiveSupport::Dependencies
ActiveSupport::ExecutionWrapper
ActiveSupport::FileUpdateChecker
ActiveSupport::ExecutionContext
ActiveSupport::StringInquirer
ActiveSupport::EnvironmentInquirer
ActiveSupport::TaggedLogging
ActiveSupport::ArrayInquirer
Rails::Application::Finisher
Rails::Application::RoutesReloader
Rails::Application::DefaultMiddlewareStack
Rails::Application::Bootstrap
Rails::Application::LazyRouteSet
I18n::Backend::Transliterator
test/application/loading_test.rb:585:in 'block in <class:LoadingTest>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment