Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use Thor logic to choose between Basic and Color shells

  • Loading branch information...
commit 7c852a9d0c84d5dd99c44e5d9a5ce2baabce1471 1 parent e0314d4
@indirect indirect authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bundler/gem_helper.rb
View
2  lib/bundler/gem_helper.rb
@@ -12,7 +12,7 @@ def self.install_tasks(opts = nil)
attr_reader :spec_path, :base, :gemspec
def initialize(base, name = nil)
- Bundler.ui = UI::Shell.new(Thor::Shell::Color.new)
+ Bundler.ui = UI::Shell.new(Thor::Base.shell)
@base = base
gemspecs = name ? [File.join(base, "#{name}.gemspec")] : Dir[File.join(base, "*.gemspec")]
raise "Unable to determine name from existing gemspec. Use :name => 'gemname' in #install_tasks to manually set it." unless gemspecs.size == 1
Please sign in to comment.
Something went wrong with that request. Please try again.