From 75602b949cb566aeb710b1037edaa5cd8501dd56 Mon Sep 17 00:00:00 2001 From: Matchu Date: Sat, 29 Jul 2023 10:05:36 -0700 Subject: [PATCH] Remove the development_async environment It's unused, and I'm just double-checking that it's not somehow causing the issues with the rails dev server not reloading classes. (The `threadsafe!` option would do that, but I don't thiiiink this is the env we're running? But I'm wondering if the loader is getting confused by the prefixiness of the name or something. Unlikely!) --- config/deploy.rb | 2 +- config/environments/development_async.rb | 29 ------------------------ 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 config/environments/development_async.rb diff --git a/config/deploy.rb b/config/deploy.rb index 244ae677..61abe76d 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -17,7 +17,7 @@ role :web, application role :app, application, :memcached => true role :db, application, :primary => true -set :bundle_without, [:development, :test, :development_async] +set :bundle_without, [:development, :test] set :rvm_ruby_string, 'ruby-1.9.3-p484' # Or whatever env you want it to run in. set :rvm_type, :system diff --git a/config/environments/development_async.rb b/config/environments/development_async.rb deleted file mode 100644 index 7c40fbe5..00000000 --- a/config/environments/development_async.rb +++ /dev/null @@ -1,29 +0,0 @@ -OpenneoImpressItems::Application.configure do - # Settings specified here will take precedence over those in config/environment.rb - - # In the development environment your application's code is reloaded on - # every request. This slows down response time but is perfect for development - # since you don't have to restart the webserver when you make code changes. - config.cache_classes = false - - # Log error messages when you accidentally call methods on nil. - config.whiny_nils = true - - # Show full error reports and disable caching - config.consider_all_requests_local = true - config.action_view.debug_rjs = true - config.action_controller.perform_caching = false - - # Don't care if the mailer can't send - config.action_mailer.raise_delivery_errors = false - - config.active_support.deprecation = :log - - config.action_mailer.default_url_options[:host] = 'impress.dev.openneo.net' - - config.threadsafe! -end - -RemoteImpressHost = 'beta.impress.openneo.net' - -USE_FIBER_POOL = true