vagrant_cmd 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/cmd.rb +7 -1
  2. data/lib/vagrant_cmd/version.rb +1 -1
  3. metadata +3 -3
data/lib/cmd.rb CHANGED
@@ -7,7 +7,12 @@ module VagrantCmd
7
7
  args = ARGV.dup.drop_while{|i| i != "cmd" }
8
8
  args.shift
9
9
  env = {
10
- "PATH" => File.join(@env.gems_path,'bin')+';'+ENV["PATH"]
10
+ "PATH" => [
11
+ File.join(@env.gems_path,'bin'),
12
+ File.join(ENV["EMBEDDED_DIR"],"mingw","bin"),
13
+ ENV["PATH"]
14
+ ].join(";"),
15
+ "GEM_HOME" => @env.gems_path.to_s
11
16
  }
12
17
  if args.size > 0
13
18
  args.unshift("/c")
@@ -19,3 +24,4 @@ module VagrantCmd
19
24
  end
20
25
  end
21
26
  end
27
+
@@ -1,3 +1,3 @@
1
1
  module VagrantCmd
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant_cmd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - nazoking