Skip to content

Commit

Permalink
FIx precompile missing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Jul 2, 2024
1 parent a41b8f1 commit b585752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Application < Rails::Application
config.assets.precompile << 'delayed/web/application.css'

config.catalog_bucket = ENV.fetch('NABU_CATALOG_BUCKET')
throw 'Must set NABU_CATALOG_BUCKET' unless config.catalog_bucket
throw 'Must set NABU_CATALOG_BUCKET' if !defined?(Rake) && Rake.application.top_level_tasks.exclude?('assets:precompile') && !config.catalog_bucket
end
end

Expand Down

0 comments on commit b585752

Please sign in to comment.