core: note Ruby and RubyGems version in logs

This commit is contained in:
Mitchell Hashimoto 2013-12-03 23:44:08 -08:00
parent 0a43cf2b6f
commit 255608d9c5
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ require 'openssl'
require 'vagrant/version'
global_logger = Log4r::Logger.new("vagrant::global")
global_logger.info("Vagrant version: #{Vagrant::VERSION}")
global_logger.info("Ruby version: #{RUBY_VERSION}")
global_logger.info("RubyGems version: #{Gem::VERSION}")
# We need these components always so instead of an autoload we
# just require them explicitly here.