Skip to content

Commit

Permalink
Merge pull request #5788 from dodona-edu/fix/deploy-2
Browse files Browse the repository at this point in the history
Fix production deploy
  • Loading branch information
jorg-vr authored Sep 12, 2024
2 parents 6628153 + 3cbdb05 commit 2715a39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ class Application < Rails::Application

config.dodona_email = 'dodona@ugent.be'

# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w[assets tasks])
# Don't eager load the lib directory, this causes issues with the autoloader
# config.autoload_lib(ignore: %w[assets tasks])

# Configuration for the application, engines, and railties goes here.
#
Expand Down
4 changes: 2 additions & 2 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false

# Do not eager load code on boot.
config.eager_load = false
# Eager load code on boot.
config.eager_load = true

# Show full error reports.
config.consider_all_requests_local = true
Expand Down

0 comments on commit 2715a39

Please sign in to comment.