This method is only available on newer versions. The first available version (v2_6_3) is shown here.
ui()
No documentation available.
# File lib/bundler.rb, line 69 def ui (defined?(@ui) && @ui) || (self.ui = UI::Silent.new) end