lib/quandl/command/tasks/base.rb in quandl-0.2.26 vs lib/quandl/command/tasks/base.rb in quandl-0.2.27

- old
+ new

@@ -218,10 +218,13 @@ false end end def disable_in_gem! - if Dir.exists?( File.join( Tasks.root, ".git") ) || File.exists?( File.join( Tasks.root, "Gemfile") ) + if force_yes? + info("You have forced update!") + true + elsif Dir.exists?( File.join( Tasks.root, ".git") ) || File.exists?( File.join( Tasks.root, "Gemfile") ) fatal("#{self.class.command_name} is only permitted when installed as a package! http://quandl.com/help/toolbelt") false end end \ No newline at end of file