lib/bundler.rb in bundler-1.10.0 vs lib/bundler.rb in bundler-1.10.1
- old
+ new
@@ -90,10 +90,10 @@
def configure
@configured ||= configure_gem_home_and_path
end
def ui
- @ui || (self.ui = UI::Silent.new)
+ (defined?(@ui) && @ui) || (self.ui = UI::Silent.new)
end
def ui=(ui)
Bundler.rubygems.ui = UI::RGProxy.new(ui)
@ui = ui