lib/jbundler/cli.rb in jbundler-0.7.2 vs lib/jbundler/cli.rb in jbundler-0.7.3
- old
+ new
@@ -23,9 +23,12 @@
require 'jbundler/executable'
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)
+
class Cli < Thor
no_tasks do
def config
@config ||= JBundler::Config.new
end