lib/backup/cli.rb in backup-3.1.2 vs lib/backup/cli.rb in backup-3.1.3
- old
+ new
@@ -355,10 +355,10 @@
# This is to avoid Thor's warnings when stubbing methods on the Thor class.
module Helpers
class << self
def bundler_loaded?
- defined?(Bundler)
+ !ENV['BUNDLE_GEMFILE'].to_s.empty?
end
end
end
end