rvm 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/binscripts/rvm-prompt +15 -16
- data/contrib/gemset_snapshot +1 -1
- data/install +19 -20
- data/lib/VERSION.yml +1 -1
- data/rvm.gemspec +2 -3
- data/scripts/alias +28 -20
- data/scripts/base +1 -1
- data/scripts/cleanup +1 -1
- data/scripts/cli +83 -104
- data/scripts/completion +28 -1
- data/scripts/docs +11 -11
- data/scripts/fetch +15 -15
- data/scripts/gemsets +72 -75
- data/scripts/help +9 -10
- data/scripts/hook +3 -1
- data/scripts/info +8 -6
- data/scripts/install +19 -20
- data/scripts/list +31 -40
- data/scripts/maglev +18 -18
- data/scripts/manage +190 -193
- data/scripts/match +1 -0
- data/scripts/migrate +10 -11
- data/scripts/monitor +4 -4
- data/scripts/package +14 -14
- data/scripts/patches +3 -4
- data/scripts/repair +5 -5
- data/scripts/rubygems +11 -11
- data/scripts/rvm +3 -3
- data/scripts/rvm-install +19 -20
- data/scripts/selector +68 -64
- data/scripts/set +10 -10
- data/scripts/snapshot +29 -28
- data/scripts/tools +7 -9
- data/scripts/update +19 -20
- data/scripts/upgrade +7 -7
- data/scripts/utility +96 -93
- data/scripts/wrapper +13 -18
- metadata +4 -5
- data/scripts/manpages +0 -8
data/scripts/wrapper
CHANGED
@@ -14,16 +14,17 @@ wrap() {
|
|
14
14
|
\mkdir -p "$(dirname "$file_name")"
|
15
15
|
\rm -f "$file_name"
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
echo
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
17
|
+
printf "#!/usr/bin/env sh\n
|
18
|
+
if [ -s \"${rvm_environments_path}/${environment_identifier}\" ] ; then
|
19
|
+
\\. \"${rvm_environments_path}/${environment_identifier}\"
|
20
|
+
exec $binary_name \"\$@\"
|
21
|
+
else
|
22
|
+
echo \"ERROR: Missing RVM environment file: '${rvm_environments_path}/${environment_identifier}'\"
|
23
|
+
exit 1
|
24
|
+
fi
|
25
|
+
" > "$file_name"
|
26
|
+
|
27
|
+
if [[ -f "$file_name" ]] ; then chmod +x "$file_name" ; fi
|
27
28
|
}
|
28
29
|
|
29
30
|
symlink_binary() {
|
@@ -41,7 +42,7 @@ wrap_binary() {
|
|
41
42
|
if [[ "$override_check" = "1" ]] || command -v $binary_name > /dev/null; then
|
42
43
|
wrap
|
43
44
|
else
|
44
|
-
$rvm_scripts_path/log "error" "Binary '$binary_name' not found in path."
|
45
|
+
"$rvm_scripts_path/log" "error" "Binary '$binary_name' not found in path."
|
45
46
|
return 1
|
46
47
|
fi
|
47
48
|
}
|
@@ -53,18 +54,12 @@ usage() {
|
|
53
54
|
}
|
54
55
|
|
55
56
|
# Empty ruby string: show usage and exit.
|
56
|
-
|
57
|
-
if [[ -z "$1" ]]; then
|
58
|
-
usage
|
59
|
-
exit 1
|
60
|
-
fi
|
57
|
+
if [[ -z "$1" ]]; then usage ; exit 1 ; fi
|
61
58
|
|
62
59
|
ruby_string="$1"; shift
|
63
|
-
|
64
60
|
override_check=0
|
65
61
|
prefix="$1"
|
66
62
|
[[ "$#" -gt 0 ]] && shift
|
67
|
-
|
68
63
|
binaries="$(echo "$@" | __rvm_strip)"
|
69
64
|
|
70
65
|
# Default the list of binaries to those we use regularily.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wayne E. Seguin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-09-03 00:00:00 -04:00
|
19
19
|
default_executable: rvm-install
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -137,7 +137,6 @@ files:
|
|
137
137
|
- scripts/maglev
|
138
138
|
- scripts/man
|
139
139
|
- scripts/manage
|
140
|
-
- scripts/manpages
|
141
140
|
- scripts/match
|
142
141
|
- scripts/md5
|
143
142
|
- scripts/migrate
|
data/scripts/manpages
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
source "$rvm_scripts_path/initialize"
|
4
|
-
|
5
|
-
# Take if a semicolon is encountered at the end of the
|
6
|
-
# manpath env variable, man also processes the usual,
|
7
|
-
# generated manpaths as well as the variable contents.
|
8
|
-
export MANPATH="${MANPATH}:${rvm_man_path}"
|