Skip to content

Commit

Permalink
Do not load the gem and all dependencies due to version.
Browse files Browse the repository at this point in the history
This should be faster, since it cicrumvent RubyGems.
  • Loading branch information
voxik committed Oct 24, 2014
1 parent 407f8da commit 1ecd3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/vagrant
Expand Up @@ -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
Expand Down

0 comments on commit 1ecd3f9

Please sign in to comment.