lib/bundler.rb in bundler-1.10.2 vs lib/bundler.rb in bundler-1.10.3
- old
+ new
@@ -38,10 +38,11 @@
autoload :RubyDsl, 'bundler/ruby_dsl'
autoload :Runtime, 'bundler/runtime'
autoload :Settings, 'bundler/settings'
autoload :SharedHelpers, 'bundler/shared_helpers'
autoload :SpecSet, 'bundler/spec_set'
+ autoload :StubSpecification, 'bundler/stub_specification'
autoload :Source, 'bundler/source'
autoload :SourceList, 'bundler/source_list'
autoload :Specification, 'bundler/shared_helpers'
autoload :SystemRubyVersion, 'bundler/ruby_version'
autoload :UI, 'bundler/ui'
@@ -94,10 +95,10 @@
def ui
(defined?(@ui) && @ui) || (self.ui = UI::Silent.new)
end
def ui=(ui)
- Bundler.rubygems.ui = UI::RGProxy.new(ui)
+ Bundler.rubygems.ui = ui ? UI::RGProxy.new(ui) : nil
@ui = ui
end
# Returns absolute path of where gems are installed on the filesystem.
def bundle_path