gs 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gs +5 -4
- metadata +2 -2
data/bin/gs
CHANGED
@@ -33,11 +33,12 @@ when "init" then Dir.mkdir(".gs")
|
|
33
33
|
when "help" then puts help
|
34
34
|
else
|
35
35
|
if File.directory?(".gs")
|
36
|
+
pwd = Dir.pwd
|
36
37
|
env = ENV.to_hash
|
37
|
-
env["GS_NAME"] =
|
38
|
-
env["GEM_HOME"] = "
|
39
|
-
env["GEM_PATH"] = "
|
40
|
-
env["PATH"] = "
|
38
|
+
env["GS_NAME"] = File.basename(pwd)
|
39
|
+
env["GEM_HOME"] = pwd + "/.gs"
|
40
|
+
env["GEM_PATH"] = pwd + "/.gs:#{`gem env path`}"
|
41
|
+
env["PATH"] = pwd + "/.gs/bin:#{ENV['PATH']}"
|
41
42
|
|
42
43
|
if ARGV.length > 0
|
43
44
|
exec env, *ARGV
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Gemset management
|
15
15
|
email:
|