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:
commit
b32c8d9f86
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue