Merge pull request #4703 from voxik/relative-version

bin: Do not load the gem and all dependencies due to version.
This commit is contained in:
Mitchell Hashimoto 2014-10-24 09:21:07 -07:00
commit b32c8d9f86
1 changed files with 1 additions and 1 deletions

View File

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