diff --git a/Gemfile b/Gemfile index 39d4f08..e798e91 100644 --- a/Gemfile +++ b/Gemfile @@ -26,8 +26,7 @@ gem 'kaminari' gem "merged" , git: "https://github.com/HubFeenixMakers/merged" #gem "merged" , path: "../merged" -gem "passenger" , require: "phusion_passenger/rack_handler" - +gem "passenger" , "6.0.15" , require: "phusion_passenger/rack_handler" gem "bootsnap", require: false group :development, :test do diff --git a/Gemfile.lock b/Gemfile.lock index a48c040..19f0927 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/HubFeenixMakers/merged - revision: 2974b43bde2391a9c8c115ba1cf72555ca94f35a + revision: 22426c4bdf8a62c989ecc02a5adda8ed204cebb6 specs: merged (0.1.0) active_hash @@ -347,9 +347,9 @@ GEM simple_form_tailwind_css (1.0.0) heroicon simple_form - sprockets (4.1.1) + sprockets (4.2.0) concurrent-ruby (~> 1.0) - rack (> 1, < 3) + rack (>= 2.2.4, < 4) sprockets-es6 (0.9.2) babel-source (>= 5.8.11) babel-transpiler @@ -425,7 +425,7 @@ DEPENDENCIES kaminari merged! mina - passenger + passenger (= 6.0.15) pg (~> 1.1) pundit (~> 2.3) rails (~> 7.0) diff --git a/config/environments/development.rb b/config/environments/development.rb index 1877d81..2cc401f 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -34,10 +34,12 @@ Rails.application.configure do end + config.public_file_server.enabled = true + # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false config.action_mailer.perform_caching = false - config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } + config.action_mailer.default_url_options = { host: 'localhost', port: 4000 } routes.default_url_options = { host: 'localhost', port: 3000 } @@ -58,7 +60,8 @@ Rails.application.configure do config.active_record.verbose_query_logs = true # Suppress logger output for asset requests. - config.assets.quiet = true + config.assets.quiet = false + config.assets.debug = true # Raises error for missing translations. # config.i18n.raise_on_missing_translations = true