From 1ecd3f9f1dfe31256e10000c9040831a414ba7db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 24 Oct 2014 13:31:51 +0200 Subject: [PATCH] Do not load the gem and all dependencies due to version. This should be faster, since it cicrumvent RubyGems. --- bin/vagrant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vagrant b/bin/vagrant index 21630e1fc..4fc6b96fa 100755 --- a/bin/vagrant +++ b/bin/vagrant @@ -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