Do not load the gem and all dependencies due to version.

This should be faster, since it cicrumvent RubyGems.
This commit is contained in:
Vít Ondruch 2014-10-24 13:31:51 +02:00
parent 407f8dad1e
commit 1ecd3f9f1d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ end
# Fast path the version of Vagrant
if argv.include?("-v") || argv.include?("--version")
require "vagrant/version"
require_relative "../lib/vagrant/version"
puts "Vagrant #{Vagrant::VERSION}"
exit 0
end