bin/hanami in hanami-1.1.0.beta2 vs bin/hanami in hanami-1.1.0.beta3
- old
+ new
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
require 'bundler'
require 'hanami/cli/commands'
-Bundler.require(:plugins)
+Bundler.require(:plugins) if File.exist?(ENV["BUNDLE_GEMFILE"] || "Gemfile")
Hanami::CLI.new(Hanami::CLI::Commands).call