diff options
author | Andre Arko <andre@arko.net> | 2014-11-30 21:46:02 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-11-30 22:32:10 -0800 |
commit | 6a0ddc83e2cd0de7106c441e404fca418eca36dc (patch) | |
tree | 800573b399942e83b002ebf62f894481a0123ff6 | |
parent | 2ddced8f8bfde49f9bcb28f8edd7e12dd175b95c (diff) | |
download | bundler-6a0ddc83e2cd0de7106c441e404fca418eca36dc.tar.gz |
line up version numbers
-rw-r--r-- | lib/bundler/env.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/bundler/env.rb b/lib/bundler/env.rb index 5c9f276250..bab5ce38f5 100644 --- a/lib/bundler/env.rb +++ b/lib/bundler/env.rb @@ -12,15 +12,15 @@ module Bundler print_gemfile = options.delete(:print_gemfile) out = "Environment\n\n" - out << " Bundler #{Bundler::VERSION}\n" - out << " Rubygems #{Gem::VERSION}\n" - out << " Ruby #{RUBY_VERSION}" + out << " Bundler #{Bundler::VERSION}\n" + out << " Rubygems #{Gem::VERSION}\n" + out << " Ruby #{RUBY_VERSION}" out << "p#{RUBY_PATCHLEVEL}" if defined? RUBY_PATCHLEVEL out << " (#{RUBY_RELEASE_DATE} revision #{RUBY_REVISION}) [#{RUBY_PLATFORM}]\n" - out << " GEM_HOME #{ENV['GEM_HOME']}\n" unless ENV['GEM_HOME'].nil? || ENV['GEM_HOME'].empty? - out << " GEM_PATH #{ENV['GEM_PATH']}\n" unless ENV['GEM_PATH'] == ENV['GEM_HOME'] - out << " RVM #{ENV['rvm_version']}\n" if ENV['rvm_version'] - out << " Git #{git_information}\n" + out << " GEM_HOME #{ENV['GEM_HOME']}\n" unless ENV['GEM_HOME'].nil? || ENV['GEM_HOME'].empty? + out << " GEM_PATH #{ENV['GEM_PATH']}\n" unless ENV['GEM_PATH'] == ENV['GEM_HOME'] + out << " RVM #{ENV['rvm_version']}\n" if ENV['rvm_version'] + out << " Git #{git_information}\n" %w(rubygems-bundler open_gem).each do |name| specs = Bundler.rubygems.find_name(name) out << " #{name} (#{specs.map(&:version).join(',')})\n" unless specs.empty? |