lib/jbundler/cli.rb in jbundler-0.7.3 vs lib/jbundler/cli.rb in jbundler-0.7.4

- old
+ new

@@ -24,10 +24,10 @@ require 'jbundler/tree' require 'jbundler/lock_down' require 'jbundler/jruby_complete' module JBundler # As of v1.9.0, bundler's vendored version of thor is namespaced - Thor = Bundler::Thor if Bundler.const_defined?(:Thor) + Thor = Bundler::Thor if Gem.loaded_specs['bundler'].version >= Gem::Version.new('1.9.0') class Cli < Thor no_tasks do def config @config ||= JBundler::Config.new