Load prerelease plugins if available

This commit is contained in:
Mitchell Hashimoto 2011-07-02 09:23:43 -07:00
parent 1e33aa9ab4
commit 46c8bd09d3
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
host only networking to work even if the VM has multiple NICs. [GH-382]
- Touch the network configuration file for RedHat so that the `sed` works
with host only networking. [GH-381]
- Load prerelease versions of plugins if available.
## 0.7.5 (May 16, 2011)

View File

@ -37,7 +37,7 @@ module Vagrant
# useful for developers.
specs = Gem::VERSION >= "1.6.0" ? source.latest_specs(true) : source.latest_specs
source.latest_specs.each do |spec|
specs.each do |spec|
file = nil
if Gem::VERSION >= "1.8.0"
file = spec.matches_for_glob("**/vagrant_init.rb").first