lib/hanami/cli/application/cli.rb in hanami-2.0.0.alpha5 vs lib/hanami/cli/application/cli.rb in hanami-2.0.0.alpha6
- old
+ new
@@ -24,10 +24,10 @@
if command.respond_to?(:with_application)
# Set HANAMI_ENV before the application inits to ensure all aspects
# of the boot process respect the provided env
ENV["HANAMI_ENV"] = arguments[:env] if arguments[:env]
- require "hanami/init"
+ require "hanami/prepare"
application = Hanami.application
[command.with_application(application), arguments]
else
[command, arguments]