lib/jets/commands/base.rb in jets-1.9.25 vs lib/jets/commands/base.rb in jets-1.9.26
- old
+ new
@@ -136,11 +136,9 @@
# There is special eager_load logic here because this is called super early as part of the CLI start.
# We cannot assume we have full access to to the project yet.
def eager_load!
return if Jets::Turbo.afterburner?
- # Jets::Dotenv.load! - so ENV vars can be used in class definitions.
- Jets::Dotenv.load!
Jets.application.setup_auto_load_paths # in case an app/extension is defined
Jets::Autoloaders.once.eager_load
end
memoize :eager_load!
end