rvm 1.0.15 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- data/config/md5 +99 -51
- data/install +4 -2
- data/lib/VERSION.yml +1 -1
- data/rvm.gemspec +2 -2
- data/scripts/cd +24 -19
- data/scripts/cli +10 -2
- data/scripts/install +4 -2
- data/scripts/irbrc +5 -1
- data/scripts/manage +29 -4
- data/scripts/notes +32 -20
- data/scripts/rvm +3 -2
- data/scripts/rvm-install +4 -2
- data/scripts/selector +6 -1
- data/scripts/update +4 -2
- data/scripts/utility +29 -13
- metadata +4 -4
data/config/md5
CHANGED
@@ -1,88 +1,136 @@
|
|
1
|
+
GemStone-24407.Darwin-i386.tar.gz=2f293e1927b8a1c5a060fe174f7ec614
|
2
|
+
GemStone-24407.Linux-x86_64.tar.gz=aa4436623199dba79eb5bc8652316b07
|
3
|
+
MacRuby%200.5.zip=675454a8c7bc19d606d90a726e08427c
|
4
|
+
MacRuby%200.6.zip=a80afd3700c88cf95c539fc63b272faf
|
5
|
+
MacRuby%200.7.1.zip=e8245dcd03c0757dfae7e6fee913947a
|
6
|
+
MacRuby%200.7.zip=0bb60588c9ec9b1517665743bb05132f
|
7
|
+
MagLev-24407.Darwin-i386.tar.gz=4aa0a3c35c63c876c8f786691a20dcb5
|
8
|
+
MagLev-24407.Linux-x86_64.tar.gz=ab6928f5a39231efb86253e8b8e00134
|
9
|
+
curl-7.19.7.tar.gz=ecb2e37e45c9933e2a963cabe03670ab
|
10
|
+
ironruby-1.0.zip=7a92888837b3507355ed391dbfc0ab83
|
11
|
+
jruby-bin-1.3.1.tar.gz=4a95db8fc93ed7219663fbede98b6117
|
12
|
+
jruby-bin-1.4.0.tar.gz=f37322c18e9134e91e064aebb4baa4c7
|
13
|
+
jruby-bin-1.4.0.zip=3a9c8a5115a679da7d7a49a56d57d4c0
|
14
|
+
jruby-bin-1.4.1.tar.gz=a4aa8c43d1b9ffd9dbc6cb738d55a034
|
15
|
+
jruby-bin-1.4.tar.gz=54dba9a88b2b3f99ac86a79828d0178b
|
16
|
+
jruby-bin-1.5.0.RC1.tar.gz=47b4ca2a21659d36a2775ade0a2534c4
|
17
|
+
jruby-bin-1.5.0.RC3.tar.gz=9c2758600de903b8ca07cb1341f4f1b3
|
18
|
+
jruby-bin-1.5.0.tar.gz=ee2b4e326e8b87858e5dd0c8e94102e6
|
19
|
+
jruby-bin-1.5.1.tar.gz=0196dcfb17354f12253eaddc1166a0ee
|
20
|
+
jruby-bin-1.5.2.tar.gz=d239deb9a108a6abbfbd6cb79cf8255b
|
21
|
+
jruby-bin-1.5.3.tar.gz=ccb0b2dbc300d8dd4ad1bd4da48b8320
|
22
|
+
libiconv-1.13.1.tar.gz=7ab33ebd26687c744a37264a330bbe9a
|
23
|
+
ncurses.tar.gz=cce05daf61a64501ef6cd8da1f727ec6
|
24
|
+
openssl-0.9.8k.tar.gz=e555c6d58d276aec7fdc53363e338ab3
|
25
|
+
openssl-0.9.8n.tar.gz=076d8efc3ed93646bd01f04e23c07066
|
26
|
+
pkg-config-0.23.tar.gz=d922a88782b64441d06547632fd85744
|
27
|
+
readline-5.2.tar.gz=e39331f32ad14009b9ff49cc10c5e751
|
28
|
+
readline-6.0.tar.gz=b7f65a48add447693be6e86f04a63019
|
29
|
+
rubinius-1.0.0-20100514.tar.gz=b05f4e791d3712c5a50b3d210dac6eb0
|
1
30
|
rubinius-1.0.0-rc1-20091125.tar.gz=c1cf037f05caf1bc962c09e220b435f4
|
2
31
|
rubinius-1.0.0-rc4-20100331.tar.gz=c631131cc9542c548b4fc3791d8aa6b2
|
3
32
|
rubinius-1.0.0-rc5-20100510.tar.gz=d4fbb5b01aaeee3948cbe1cd38236524
|
4
|
-
rubinius-1.0.0-20100514.tar.gz=b05f4e791d3712c5a50b3d210dac6eb0
|
5
33
|
rubinius-1.0.1-20100603.tar.gz=eb185703c7ae0c0210e8dcb7f783ee8e
|
6
34
|
rubinius-1.1.0-20100923.tar.gz=e2ae16238b201de09975abe19da09ea9
|
35
|
+
ruby-1.8.5-p115.tar.bz2=03955e3c367b9beb3efe144c9f00d689
|
7
36
|
ruby-1.8.5-p115.tar.gz=20ca6cc87eb077296806412feaac0356
|
37
|
+
ruby-1.8.5-p231.tar.bz2=327f5aa6573787432222e96195cffd1e
|
8
38
|
ruby-1.8.5-p231.tar.gz=e900cf225d55414bffe878f00a85807c
|
39
|
+
ruby-1.8.6-p286.tar.bz2=e6b6bf8f34370e433936adb7a7065e63
|
9
40
|
ruby-1.8.6-p286.tar.gz=797ea136fe43e4286c9362ee4516674e
|
41
|
+
ruby-1.8.6-p287.tar.bz2=80b5f3db12531d36e6c81fac6d05dda9
|
10
42
|
ruby-1.8.6-p287.tar.gz=6ff3420094711266c3201a0c7c2faa38
|
43
|
+
ruby-1.8.6-p369.tar.bz2=c3c1f3dd0dfbd2e17a04e59c2f12cfc8
|
11
44
|
ruby-1.8.6-p369.tar.gz=8c140ae28b4c3947b92dfad69109d90b
|
45
|
+
ruby-1.8.6-p383.tar.bz2=a48703cd982b9f0e3002700a50b0e88e
|
12
46
|
ruby-1.8.6-p383.tar.gz=4f49544d4a4d0d34e9d86c41e853db2e
|
47
|
+
ruby-1.8.6-p398.tar.bz2=fbd43dc44ee26be4d37e6bebbed6f8bd
|
13
48
|
ruby-1.8.6-p398.tar.gz=736db5f56c2d9b0136e563d049249fa8
|
49
|
+
ruby-1.8.6-p399.tar.bz2=f77c307cb72fb8808b0e85af5d05cefc
|
14
50
|
ruby-1.8.6-p399.tar.gz=c3d16cdd3c1ee8f3b7d1c399d4884e33
|
51
|
+
ruby-1.8.7-p160.tar.bz2=f8ddb886b8a81cf005f53e9a9541091d
|
15
52
|
ruby-1.8.7-p160.tar.gz=945398f97e2de6dd8ab6df68d10bb1a1
|
53
|
+
ruby-1.8.7-p174.tar.bz2=88c45aaf627b4404e5e4273cb03ba2ee
|
16
54
|
ruby-1.8.7-p174.tar.gz=18dcdfef761a745ac7da45b61776afa5
|
55
|
+
ruby-1.8.7-p248.tar.bz2=37e19d46b7d4b845f57d3389084b94a6
|
17
56
|
ruby-1.8.7-p248.tar.gz=60a65374689ac8b90be54ca9c61c48e3
|
57
|
+
ruby-1.8.7-p249.tar.bz2=37200cc956a16996bbfd25bb4068f242
|
18
58
|
ruby-1.8.7-p249.tar.gz=d7db7763cffad279952eb7e9bbfc221c
|
59
|
+
ruby-1.8.7-p299.tar.bz2=244439a87d75ab24170a9c2b451ce351
|
19
60
|
ruby-1.8.7-p299.tar.gz=43533980ee0ea57381040d4135cf9677
|
61
|
+
ruby-1.8.7-p302.tar.bz2=a6a9e37079ed8cf8726b455dad3de939
|
20
62
|
ruby-1.8.7-p302.tar.gz=a6a9e37079ed8cf8726b455dad3de939
|
63
|
+
ruby-1.9.0.tar.bz2=17eb66ac3721340d21db352d8f5dec76
|
64
|
+
ruby-1.9.1-p129.tar.bz2=6fa62b20f72da471195830dec4eb2013
|
21
65
|
ruby-1.9.1-p129.tar.gz=c71f413514ee6341c627be2957023a5c
|
66
|
+
ruby-1.9.1-p243.tar.bz2=66d4f8403d13623051091347764881a0
|
22
67
|
ruby-1.9.1-p243.tar.gz=515bfd965814e718c0943abf3dde5494
|
68
|
+
ruby-1.9.1-p376.tar.bz2=e019ae9c643c5efe91be49e29781fb94
|
23
69
|
ruby-1.9.1-p376.tar.gz=ebb20550a11e7f1a2fbd6fdec2a3e0a3
|
24
|
-
ruby-1.9.1-
|
70
|
+
ruby-1.9.1-p378.tar.bz2=5922459622a23612eb9b68a3586cb5f8
|
25
71
|
ruby-1.9.1-p378.tar.gz=9fc5941bda150ac0a33b299e1e53654c
|
72
|
+
ruby-1.9.1-p429.tar.bz2=09df32ae51b6337f7a2e3b1909b26213
|
26
73
|
ruby-1.9.1-p429.tar.gz=0f6d7630f26042e00bc59875755cf879
|
27
|
-
ruby-1.9.2-
|
28
|
-
ruby-1.9.2-preview3.tar.gz=209e59f3495a5503fa948c2732f1d705
|
29
|
-
ruby-1.9.2-rc1.tar.gz=fdedd5b42ae89a9a46797823ad2d9acf
|
30
|
-
ruby-1.9.2-rc2.tar.gz=d12cd39eee4d99bc54b52aba5a0ba4e1
|
74
|
+
ruby-1.9.2-p0.tar.bz2=d8a02cadf57d2571cd4250e248ea7e4b
|
31
75
|
ruby-1.9.2-p0.tar.gz=755aba44607c580fddc25e7c89260460
|
32
|
-
ruby-1.8.5-p115.tar.bz2=03955e3c367b9beb3efe144c9f00d689
|
33
|
-
ruby-1.8.5-p231.tar.bz2=327f5aa6573787432222e96195cffd1e
|
34
|
-
ruby-1.8.6-p286.tar.bz2=e6b6bf8f34370e433936adb7a7065e63
|
35
|
-
ruby-1.8.6-p287.tar.bz2=80b5f3db12531d36e6c81fac6d05dda9
|
36
|
-
ruby-1.8.6-p369.tar.bz2=c3c1f3dd0dfbd2e17a04e59c2f12cfc8
|
37
|
-
ruby-1.8.6-p383.tar.bz2=a48703cd982b9f0e3002700a50b0e88e
|
38
|
-
ruby-1.8.6-p398.tar.bz2=fbd43dc44ee26be4d37e6bebbed6f8bd
|
39
|
-
ruby-1.8.6-p399.tar.bz2=f77c307cb72fb8808b0e85af5d05cefc
|
40
|
-
ruby-1.8.7-p160.tar.bz2=f8ddb886b8a81cf005f53e9a9541091d
|
41
|
-
ruby-1.8.7-p174.tar.bz2=88c45aaf627b4404e5e4273cb03ba2ee
|
42
|
-
ruby-1.8.7-p248.tar.bz2=37e19d46b7d4b845f57d3389084b94a6
|
43
|
-
ruby-1.8.7-p249.tar.bz2=37200cc956a16996bbfd25bb4068f242
|
44
|
-
ruby-1.8.7-p299.tar.bz2=244439a87d75ab24170a9c2b451ce351
|
45
|
-
ruby-1.8.7-p302.tar.bz2=a6a9e37079ed8cf8726b455dad3de939
|
46
|
-
ruby-1.9.1-p129.tar.bz2=6fa62b20f72da471195830dec4eb2013
|
47
|
-
ruby-1.9.1-p243.tar.bz2=66d4f8403d13623051091347764881a0
|
48
|
-
ruby-1.9.1-p376.tar.bz2=e019ae9c643c5efe91be49e29781fb94
|
49
|
-
ruby-1.9.1-p376.tar.bz2=e019ae9c643c5efe91be49e29781fb94
|
50
|
-
ruby-1.9.1-p378.tar.bz2=5922459622a23612eb9b68a3586cb5f8
|
51
|
-
ruby-1.9.1-p429.tar.bz2=09df32ae51b6337f7a2e3b1909b26213
|
52
76
|
ruby-1.9.2-preview1.tar.bz2=0b8f27ea78afcdc54d5d23e569aa0150
|
77
|
+
ruby-1.9.2-preview1.tar.gz=e2b8cdbf300f53472be09699a5837fd1
|
53
78
|
ruby-1.9.2-preview3.tar.bz2=19225dceacaac49ddc1664e593af54ac
|
79
|
+
ruby-1.9.2-preview3.tar.gz=209e59f3495a5503fa948c2732f1d705
|
54
80
|
ruby-1.9.2-rc1.tar.bz2=242dcfaed8359a6918941b55d0806bf0
|
81
|
+
ruby-1.9.2-rc1.tar.gz=fdedd5b42ae89a9a46797823ad2d9acf
|
55
82
|
ruby-1.9.2-rc2.tar.bz2=4e4906d0aab711286b31f5a834860cc3
|
56
|
-
ruby-1.9.2-
|
83
|
+
ruby-1.9.2-rc2.tar.gz=d12cd39eee4d99bc54b52aba5a0ba4e1
|
84
|
+
ruby-enterprise-1.8.6-20080507.tar.gz=17e3c52e73e42809f57ad0000a6cb4ab
|
85
|
+
ruby-enterprise-1.8.6-20080621.tar.gz=626fc3811eee2dc92ac27ea63d37a8b2
|
86
|
+
ruby-enterprise-1.8.6-20080623.tar.gz=0bf8a3a93c6b37bb1260cc09b05e81fd
|
87
|
+
ruby-enterprise-1.8.6-20080624.tar.gz=de58b97128aa65209f291c66eab7c4a7
|
88
|
+
ruby-enterprise-1.8.6-20080709.tar.gz=f0ded08cec64959fa388ec6a237b9c47
|
89
|
+
ruby-enterprise-1.8.6-20080810.tar.gz=bfdcf06f437af825cd9f2d321f9d1896
|
90
|
+
ruby-enterprise-1.8.6-20081205.tar.gz=50206bec9be2e08a862e5ec2e70fa693
|
91
|
+
ruby-enterprise-1.8.6-20081215.tar.gz=aab57b7d5061c1980bec5dbe311ec9b2
|
92
|
+
ruby-enterprise-1.8.6-20090113.tar.gz=e8d796a5bae0ec1029a88ba95c5d901d
|
93
|
+
ruby-enterprise-1.8.6-20090201.tar.gz=a965e6789b553efaed72191825b13713
|
94
|
+
ruby-enterprise-1.8.6-20090421.tar.gz=c777b361aadccda7988be16ede7ab15f
|
95
|
+
ruby-enterprise-1.8.6-20090520.tar.gz=156572a8296bd0440970a6bb95018a13
|
57
96
|
ruby-enterprise-1.8.6-20090610.tar.gz=0bf66ee626918464a6eccdd83c99d63a
|
58
97
|
ruby-enterprise-1.8.7-2009.10.tar.gz=3727eef7b6b1b2f31db7d091328d966e
|
59
98
|
ruby-enterprise-1.8.7-20090928.tar.gz=ae00018ce89d95419dfde370fcd485ac
|
99
|
+
ruby-enterprise-1.8.7-2010.01.tar.gz=587aaea02c86ddbb87394a340a25e554
|
60
100
|
ruby-enterprise-1.8.7-2010.02.tar.gz=4df7b09c01adfd711b0ab76837611542
|
101
|
+
rubygems-0.4.0.tgz=86a64616548a793e1a5f825f0dd385b9
|
102
|
+
rubygems-0.5.0.tgz=80d151edd94a06bcd2452a7e272b4d96
|
103
|
+
rubygems-0.6.0.tgz=5df803f5a04654833690dd32283de741
|
104
|
+
rubygems-0.6.1.tgz=c4a0faa9f876ad805ae80d1396a29d97
|
105
|
+
rubygems-0.7.0.tgz=ede9b55343219e8b3491793aa12c46f3
|
106
|
+
rubygems-0.8.0.tgz=9ef6e3c34dcb54e295c8e57321ddc079
|
107
|
+
rubygems-0.8.1.tgz=6276d268b420c0d61796cdbf6d28dae4
|
108
|
+
rubygems-0.8.10.tgz=d26592e280c0fb24c51f2837c3f48e67
|
109
|
+
rubygems-0.8.11.tgz=aa363b428c4c1fc2e076a4ff77b957d7
|
110
|
+
rubygems-0.8.3.tgz=6e6da80f61d6e77d0ad9e531767f6fd5
|
111
|
+
rubygems-0.8.4.tgz=a2ad2d03dae8a98002c2a7cd6c3ed352
|
112
|
+
rubygems-0.8.5.tgz=b917c084e1e6e99d8e102af8dd687ddb
|
113
|
+
rubygems-0.8.6.tgz=9de98d2f62e3f91521b0207a4dcdeb5b
|
114
|
+
rubygems-0.8.7.tgz=7fc04b9f9acc0c18cbbe6222be8d0bd3
|
115
|
+
rubygems-0.8.8.tgz=a8535e9c35a4c215d6ef9268d4bc69ed
|
116
|
+
rubygems-0.9.0.tgz=5d496e1f415b8b4033ab867f01d1161f
|
117
|
+
rubygems-0.9.1.tgz=a62314cdb174ccc88a27b8924fa79e4a
|
118
|
+
rubygems-0.9.2.tgz=cc525053dd465ab6e33af382166fa808
|
119
|
+
rubygems-0.9.3.tgz=600940a22ecd79e28e0fd37ad1f1d871
|
120
|
+
rubygems-0.9.4.tgz=b5680acaa019c80ea44fe87cc2e227da
|
121
|
+
rubygems-0.9.5.tgz=91f7036a724e34cc66dd8d09348733d9
|
122
|
+
rubygems-1.0.0.tgz=b0b74eac0cbfc5a13f895ab6f803edc1
|
123
|
+
rubygems-1.0.1.tgz=0d5851084955c327ee1dc9cbd631aa5f
|
124
|
+
rubygems-1.1.0.tgz=85f994904c5b4045f0a859b29d0be717
|
125
|
+
rubygems-1.1.1.tgz=1a77c5b6b293a3ccd5261dc120641ccc
|
126
|
+
rubygems-1.2.0.tgz=b77a4234360735174d1692e6fc598402
|
127
|
+
rubygems-1.3.0.tgz=63d3dfc038710eaf532b6a133225115a
|
128
|
+
rubygems-1.3.1.tgz=a04ee6f6897077c5b75f5fd1e134c5a9
|
129
|
+
rubygems-1.3.2.tgz=6204d0a4c526a1d8fdbce746647b179a
|
130
|
+
rubygems-1.3.3.tgz=0e9697db44d812712350baf28016b4a7
|
131
|
+
rubygems-1.3.4.tgz=b17b398503253bf36a101c58f02a226f
|
61
132
|
rubygems-1.3.5.tgz=6e317335898e73beab15623cdd5f8cff
|
62
133
|
rubygems-1.3.6.tgz=789ca8e9ad1d4d3fe5f0534fcc038a0d
|
63
134
|
rubygems-1.3.7.tgz=e85cfadd025ff6ab689375adbf344bbe
|
64
|
-
MacRuby%200.5.zip=675454a8c7bc19d606d90a726e08427c
|
65
|
-
MacRuby%200.6.zip=a80afd3700c88cf95c539fc63b272faf
|
66
|
-
MacRuby%200.7.zip=0bb60588c9ec9b1517665743bb05132f
|
67
|
-
MacRuby%200.7.1.zip=e8245dcd03c0757dfae7e6fee913947a
|
68
|
-
jruby-bin-1.3.1.tar.gz=4a95db8fc93ed7219663fbede98b6117
|
69
|
-
jruby-bin-1.4.0.tar.gz=f37322c18e9134e91e064aebb4baa4c7
|
70
|
-
jruby-bin-1.5.0.RC1.tar.gz=47b4ca2a21659d36a2775ade0a2534c4
|
71
|
-
jruby-bin-1.5.0.RC3.tar.gz=9c2758600de903b8ca07cb1341f4f1b3
|
72
|
-
jruby-bin-1.5.0.tar.gz=ee2b4e326e8b87858e5dd0c8e94102e6
|
73
|
-
jruby-bin-1.5.1.tar.gz=0196dcfb17354f12253eaddc1166a0ee
|
74
|
-
jruby-bin-1.5.2.tar.gz=d239deb9a108a6abbfbd6cb79cf8255b
|
75
|
-
jruby-bin-1.5.3.tar.gz=ccb0b2dbc300d8dd4ad1bd4da48b8320
|
76
|
-
libiconv-1.13.1.tar.gz=7ab33ebd26687c744a37264a330bbe9a
|
77
|
-
ncurses.tar.gz=cce05daf61a64501ef6cd8da1f727ec6
|
78
|
-
openssl-0.9.8k.tar.gz=e555c6d58d276aec7fdc53363e338ab3
|
79
|
-
readline-5.2.tar.gz=e39331f32ad14009b9ff49cc10c5e751
|
80
|
-
readline-6.0.tar.gz=b7f65a48add447693be6e86f04a63019
|
81
135
|
zlib-1.2.3.tar.gz=debc62758716a169df9f62e6ab2bc634
|
82
|
-
|
83
|
-
pkg-config-0.23.tar.gz=d922a88782b64441d06547632fd85744
|
84
|
-
ironruby-1.0.zip=7a92888837b3507355ed391dbfc0ab83
|
85
|
-
GemStone-24407.Darwin-i386.tar.gz=2f293e1927b8a1c5a060fe174f7ec614
|
86
|
-
GemStone-24407.Linux-x86_64.tar.gz=aa4436623199dba79eb5bc8652316b07
|
87
|
-
MagLev-24407.Darwin-i386.tar.gz=4aa0a3c35c63c876c8f786691a20dcb5
|
88
|
-
MagLev-24407.Linux-x86_64.tar.gz=ab6928f5a39231efb86253e8b8e00134
|
136
|
+
zlib-1.2.5.tar.gz=c735eab2d659a96e5a594c9e8541ad63
|
data/install
CHANGED
@@ -126,7 +126,7 @@ andand_return_warning()
|
|
126
126
|
thank_you()
|
127
127
|
{
|
128
128
|
printf "
|
129
|
-
${name:-"$
|
129
|
+
${name:-"$USER"},
|
130
130
|
|
131
131
|
Thank you very much for using RVM! I sincerely hope that RVM helps to
|
132
132
|
make your work both easier and more enjoyable.
|
@@ -599,7 +599,9 @@ if [[ $upgrade_flag -eq 0 ]] ; then
|
|
599
599
|
./scripts/notes
|
600
600
|
fi
|
601
601
|
|
602
|
-
|
602
|
+
if command -v git > /dev/null 2>&1 ; then
|
603
|
+
name="$(git config user.name 2>/dev/null)"
|
604
|
+
fi
|
603
605
|
|
604
606
|
if [[ ${upgrade_flag:-0} -eq 1 ]] ; then
|
605
607
|
|
data/lib/VERSION.yml
CHANGED
data/rvm.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rvm}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.17"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Wayne E. Seguin"]
|
12
|
-
s.date = %q{2010-10-
|
12
|
+
s.date = %q{2010-10-29}
|
13
13
|
s.default_executable = %q{rvm-install}
|
14
14
|
s.description = %q{Manages Ruby interpreter environments and switching between them.}
|
15
15
|
s.email = %q{wayneeseguin@gmail.com}
|
data/scripts/cd
CHANGED
@@ -45,41 +45,46 @@ if [[ ${rvm_project_rvmrc:-1} -ne 0 ]] ; then
|
|
45
45
|
return $result
|
46
46
|
}
|
47
47
|
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
#
|
49
|
+
# Can someone please explain to me what this was meant to accomplish?
|
50
|
+
# telemachus was encountering issues when he had CDPATH set.
|
51
|
+
# Namely comletion stopped working.
|
52
|
+
#
|
53
|
+
# _rvm_cd_complete ()
|
54
|
+
# {
|
55
|
+
# local directory current matches item index
|
51
56
|
|
52
|
-
|
57
|
+
# COMPREPLY=()
|
53
58
|
|
54
|
-
|
59
|
+
# current="${COMP_WORDS[COMP_CWORD]}"
|
55
60
|
|
56
|
-
|
61
|
+
# if [[ -n "$CDPATH" ]] ; then
|
57
62
|
|
58
|
-
|
63
|
+
# index=${#COMPREPLY[@]}
|
59
64
|
|
60
|
-
|
65
|
+
# for directory in $(printf "$CDPATH" | tr -s ':' ' ') ; do
|
61
66
|
|
62
|
-
|
67
|
+
# for item in $( compgen -d "$directory/$current" ) ; do
|
63
68
|
|
64
|
-
|
69
|
+
# item="${item}/"
|
65
70
|
|
66
|
-
|
71
|
+
# COMPREPLY[index++]=${item#$directory/}
|
67
72
|
|
68
|
-
|
73
|
+
# done
|
69
74
|
|
70
|
-
|
75
|
+
# done
|
71
76
|
|
72
|
-
|
77
|
+
# COMPREPLY=( $(echo ${COMPREPLY} | uniq | sort) )
|
73
78
|
|
74
|
-
|
79
|
+
# else
|
75
80
|
|
76
|
-
|
81
|
+
# COMPREPLY=( $(compgen -d ${current}) )
|
77
82
|
|
78
|
-
|
83
|
+
# fi
|
79
84
|
|
80
|
-
|
85
|
+
# }
|
81
86
|
|
82
|
-
|
87
|
+
# complete -o filenames -o dirnames -o nospace -F _rvm_cd_complete cd
|
83
88
|
|
84
89
|
fi
|
85
90
|
|
data/scripts/cli
CHANGED
@@ -272,8 +272,16 @@ __rvm_parse_args()
|
|
272
272
|
fi
|
273
273
|
;;
|
274
274
|
|
275
|
+
--branch)
|
276
|
+
rvm_ruby_repo_branch="$next_token"
|
277
|
+
next_token="${1:-""}"
|
278
|
+
shift
|
279
|
+
;;
|
280
|
+
|
275
281
|
--repository|--repo|--url)
|
276
|
-
rvm_ruby_repo_url
|
282
|
+
rvm_ruby_repo_url="$next_token"
|
283
|
+
next_token="${1:-""}"
|
284
|
+
shift
|
277
285
|
;;
|
278
286
|
|
279
287
|
--ree-options)
|
@@ -641,7 +649,7 @@ rvm()
|
|
641
649
|
|
642
650
|
rvm_action="${rvm_action:-usage}"
|
643
651
|
|
644
|
-
|
652
|
+
__rvm_export_if_set BUNDLE_PATH GEM_HOME GEM_PATH rvm_action rvm_archflags rvm_bin_flag rvm_bin_path rvm_clang_flag rvm_configure_flags rvm_debug_flag rvm_delete_flag rvm_docs_type rvm_dump_environment_flag rvm_error_message rvm_file_name rvm_gemdir_flag rvm_gemset_name rvm_head_flag rvm_install_arguments rvm_install_on_use_flag rvm_interactive_flag rvm_llvm_flag rvm_loaded_flag rvm_make_flags rvm_niceness rvm_only_path_flag rvm_parse_break rvm_patch_names rvm_patch_original_pwd rvm_pretty_print_flag rvm_prior_cc rvm_proxy rvm_quiet_flag rvm_ree_options rvm_reload_flag rvm_remove_flag rvm_ruby_alias rvm_ruby_aliases rvm_ruby_args rvm_ruby_file rvm_ruby_gem_home rvm_ruby_interpreter rvm_ruby_load_path rvm_ruby_make rvm_ruby_make_install rvm_ruby_patch_level rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_require rvm_ruby_string rvm_ruby_strings rvm_ruby_version rvm_script_name rvm_sdk rvm_silent_flag rvm_system_flag rvm_token rvm_trace_flag rvm_use_flag rvm_user_flag rvm_verbose_flag rvm_wrapper_name
|
645
653
|
|
646
654
|
case "$rvm_action" in
|
647
655
|
use) __rvm_use ;;
|
data/scripts/install
CHANGED
@@ -126,7 +126,7 @@ andand_return_warning()
|
|
126
126
|
thank_you()
|
127
127
|
{
|
128
128
|
printf "
|
129
|
-
${name:-"$
|
129
|
+
${name:-"$USER"},
|
130
130
|
|
131
131
|
Thank you very much for using RVM! I sincerely hope that RVM helps to
|
132
132
|
make your work both easier and more enjoyable.
|
@@ -599,7 +599,9 @@ if [[ $upgrade_flag -eq 0 ]] ; then
|
|
599
599
|
./scripts/notes
|
600
600
|
fi
|
601
601
|
|
602
|
-
|
602
|
+
if command -v git > /dev/null 2>&1 ; then
|
603
|
+
name="$(git config user.name 2>/dev/null)"
|
604
|
+
fi
|
603
605
|
|
604
606
|
if [[ ${upgrade_flag:-0} -eq 1 ]] ; then
|
605
607
|
|
data/scripts/irbrc
CHANGED
@@ -5,5 +5,9 @@
|
|
5
5
|
# ruby then edit this file. It will only be deleted if you do
|
6
6
|
# an "rvm install" over this ruby version.
|
7
7
|
|
8
|
-
|
8
|
+
if ENV["rvm_path"].nil?
|
9
|
+
require File.join(ENV["HOME"], "irbrc")
|
10
|
+
else
|
11
|
+
require File.join(ENV["rvm_path"], "scripts", "irbrc")
|
12
|
+
end
|
9
13
|
|
data/scripts/manage
CHANGED
@@ -546,7 +546,7 @@ RubyWrapper
|
|
546
546
|
|
547
547
|
builtin hash -r
|
548
548
|
|
549
|
-
if [[ -n "$(printf $rvm_ruby_version | awk '/^1\./')" \
|
549
|
+
if [[ -n "$(printf "${rvm_ruby_version:-""}" | awk '/^1\./')" \
|
550
550
|
&& ${rvm_head_flag:-0} -eq 0 ]] ; then
|
551
551
|
|
552
552
|
"$rvm_path/scripts/log" "info" \
|
@@ -993,8 +993,8 @@ RubyWrapper
|
|
993
993
|
|
994
994
|
unzip -o -d "${rvm_src_path:-"$rvm_path/src"}/$rvm_ruby_string" \
|
995
995
|
"${rvm_archives_path:-"$rvm_path/archives"}/${rvm_ruby_package_file}" >> \
|
996
|
-
"${rvm_log_path:-"$rvm_path/log"}
|
997
|
-
"${rvm_log_path:-"$rvm_path/log"}
|
996
|
+
"${rvm_log_path:-"$rvm_path/log"}/$rvm_ruby_string/extract.log" 2>> \
|
997
|
+
"${rvm_log_path:-"$rvm_path/log"}/$rvm_ruby_string/extract.error.log"
|
998
998
|
result=$?
|
999
999
|
|
1000
1000
|
if [[ "$result" -gt 1 ]] ; then
|
@@ -1352,7 +1352,7 @@ __rvm_fetch_ruby()
|
|
1352
1352
|
|
1353
1353
|
mkdir -p "${rvm_repo_path:-"$rvm_path/repos"}"
|
1354
1354
|
|
1355
|
-
if [[ -n "$(echo "$rvm_ruby_url" | awk '
|
1355
|
+
if [[ -n "$(echo "$rvm_ruby_url" | awk '/git/')" ]] ; then
|
1356
1356
|
|
1357
1357
|
if [[ -d "${rvm_repos_path:-"$rvm_path/repos"}/$rvm_ruby_string/.git" ]] ; then
|
1358
1358
|
|
@@ -1419,6 +1419,31 @@ __rvm_fetch_ruby()
|
|
1419
1419
|
fi
|
1420
1420
|
fi
|
1421
1421
|
|
1422
|
+
if [[ -z "$rvm_ruby_repo_branch" ]]; then
|
1423
|
+
rvm_ruby_repo_branch="master"
|
1424
|
+
fi
|
1425
|
+
|
1426
|
+
(
|
1427
|
+
remote="origin"
|
1428
|
+
|
1429
|
+
cd "${rvm_repos_path:-"$rvm_path/repos"}/$rvm_ruby_string"
|
1430
|
+
|
1431
|
+
if [[ -z "$(git branch | awk "/$rvm_ruby_repo_branch$/")" ]] ; then
|
1432
|
+
|
1433
|
+
git checkout -b "$rvm_ruby_repo_branch" --track "$remote/$rvm_ruby_repo_branch" 2>/dev/null
|
1434
|
+
|
1435
|
+
elif [[ -z "$(git branch | awk "/\* $rvm_ruby_repo_branch$/")" ]] ; then
|
1436
|
+
|
1437
|
+
if ! git checkout $rvm_ruby_repo_branch 2>/dev/null ; then
|
1438
|
+
|
1439
|
+
"$rvm_path/scripts/log" "error" \
|
1440
|
+
"Branch $remote/$rvm_ruby_repo_branch not found."
|
1441
|
+
|
1442
|
+
fi
|
1443
|
+
|
1444
|
+
fi
|
1445
|
+
)
|
1446
|
+
|
1422
1447
|
else
|
1423
1448
|
if [[ -n "${rvm_ruby_tag:-""}" ]] ; then
|
1424
1449
|
# TODO: Check if tag v is valid
|
data/scripts/notes
CHANGED
@@ -14,12 +14,21 @@ if [[ "Linux" = "$system" ]] ; then
|
|
14
14
|
rvm_yum_binary="$(command -v yum)"
|
15
15
|
|
16
16
|
printf "
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
17
|
+
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)
|
18
|
+
This is the *original* / standard Ruby Language Interpreter
|
19
|
+
'ree' represents Ruby Enterprise Edition
|
20
|
+
'rbx' represents Rubinius
|
21
|
+
|
22
|
+
bash >= 3.2 is required
|
23
|
+
curl is required
|
24
|
+
git is required (>= 1.7 recommended)
|
25
|
+
patch is required (for ree and some ruby-head's).
|
26
|
+
|
27
|
+
If you wish to install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head),
|
28
|
+
then you must install and use rvm 1.8.7 first.
|
29
|
+
|
30
|
+
If you wish to have the 'pretty colors' again,
|
31
|
+
set 'export rvm_pretty_print_flag=1' in ~/.rvmrc.
|
23
32
|
"
|
24
33
|
|
25
34
|
if [[ ! -z "$rvm_aptitude_binary" ]] ; then
|
@@ -31,8 +40,9 @@ dependencies:
|
|
31
40
|
# For JRuby (if you wish to use it) you will need:
|
32
41
|
jruby: aptitude install curl sun-java6-bin sun-java6-jre sun-java6-jdk
|
33
42
|
|
34
|
-
# For MRI & ree
|
35
|
-
ruby: aptitude install build-essential bison openssl libreadline5
|
43
|
+
# For Ruby (MRI & ree) you should install the following OS dependencies:
|
44
|
+
ruby: aptitude install build-essential bison openssl libreadline5 libreadline5-dev curl git zlib1g zlib1g-dev libssl-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev
|
45
|
+
|
36
46
|
ruby-head: git subversion autoconf
|
37
47
|
|
38
48
|
# For IronRuby (if you wish to use it) you will need:
|
@@ -46,8 +56,8 @@ dependencies:
|
|
46
56
|
rvm: bash curl git
|
47
57
|
|
48
58
|
# For MRI based rubies you will need:
|
49
|
-
ruby: # TODO: tell Wayne what goes here :)
|
50
|
-
ruby-head: # TODO: tell Wayne what goes here :)
|
59
|
+
ruby: # TODO: tell Wayne what goes here if you use Gentoo :)
|
60
|
+
ruby-head: # TODO: tell Wayne what goes here if you use Gentoo :)
|
51
61
|
|
52
62
|
# For JRuby (if you wish to use it) you will need:
|
53
63
|
jruby: emerge dev-java/sun-jdk dev-java/sun-jre-bin
|
@@ -62,7 +72,7 @@ dependencies:
|
|
62
72
|
# For RVM itself
|
63
73
|
rvm: bash curl git
|
64
74
|
|
65
|
-
# For MRI
|
75
|
+
# For Ruby (MRI & Ree) you should install the following OS dependencies:
|
66
76
|
ruby: pacman -Sy --noconfirm patch curl bison zlib readline libxml2 git make
|
67
77
|
ruby-head: pacman -Sy --noconfirm subversion autoconf diffutils patch bison make
|
68
78
|
|
@@ -79,8 +89,8 @@ dependencies:
|
|
79
89
|
# For RVM
|
80
90
|
rvm: yum install -y bash curl git
|
81
91
|
|
82
|
-
# For
|
83
|
-
ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel ;
|
92
|
+
# For Ruby (MRI & Ree) you should install the following OS dependencies:
|
93
|
+
ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel ;
|
84
94
|
yum install -y iconv-devel # NOTE: For centos 5.4 final iconv-devel might not be available :(
|
85
95
|
|
86
96
|
# For JRuby (if you wish to use it) you will need:
|
@@ -93,11 +103,11 @@ dependencies:
|
|
93
103
|
# RVM
|
94
104
|
rvm: bash curl git
|
95
105
|
|
96
|
-
#
|
106
|
+
# For Ruby (MRI & Ree) you should install the following OS dependencies:
|
97
107
|
ruby: # gcc-c++ patch readline zlib libyaml iconv libxml2 libxslt
|
98
108
|
|
99
109
|
# For JRuby (if you wish to use it) you will need:
|
100
|
-
jruby: #The SUN java runtime environment and development kit.
|
110
|
+
jruby: # The SUN java runtime environment and development kit.
|
101
111
|
|
102
112
|
# For IronRuby (if you wish to use it) you will need:
|
103
113
|
ironruby: #The Mono Runtime and Development Platform (version 2.6 or greater is recommended).
|
@@ -109,11 +119,13 @@ elif [[ "Darwin" = "$system" ]] ; then
|
|
109
119
|
|
110
120
|
printf "
|
111
121
|
Notes for ${system} $release
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
122
|
+
For Snow Leopard be sure to have Xcode Tools Version 3.2.1 (1613) or later
|
123
|
+
You should download the latest Xcode tools from developer.apple.com.
|
124
|
+
(This is since the dvd install for Snow Leopard contained bugs).
|
125
|
+
|
126
|
+
If you intend on installing MacRuby you must install LLVM first.
|
127
|
+
If you intend on installing JRuby you must install the JDK.
|
128
|
+
If you intend on installing IronRuby you must install Mono (version 2.6 or greater is recommended).
|
117
129
|
"
|
118
130
|
fi
|
119
131
|
|
data/scripts/rvm
CHANGED
data/scripts/rvm-install
CHANGED
@@ -126,7 +126,7 @@ andand_return_warning()
|
|
126
126
|
thank_you()
|
127
127
|
{
|
128
128
|
printf "
|
129
|
-
${name:-"$
|
129
|
+
${name:-"$USER"},
|
130
130
|
|
131
131
|
Thank you very much for using RVM! I sincerely hope that RVM helps to
|
132
132
|
make your work both easier and more enjoyable.
|
@@ -599,7 +599,9 @@ if [[ $upgrade_flag -eq 0 ]] ; then
|
|
599
599
|
./scripts/notes
|
600
600
|
fi
|
601
601
|
|
602
|
-
|
602
|
+
if command -v git > /dev/null 2>&1 ; then
|
603
|
+
name="$(git config user.name 2>/dev/null)"
|
604
|
+
fi
|
603
605
|
|
604
606
|
if [[ ${upgrade_flag:-0} -eq 1 ]] ; then
|
605
607
|
|
data/scripts/selector
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
__rvm_select()
|
5
5
|
{
|
6
6
|
# Set Variable Defaults
|
7
|
-
|
7
|
+
__rvm_export_if_set GEM_HOME GEM_PATH BUNDLE_PATH MY_RUBY_HOME RUBY_VERSION
|
8
8
|
|
9
9
|
if [[ -z "${rvm_ruby_string:-""}" ]] ; then
|
10
10
|
[[ -n "${rvm_ruby_interpreter:-""}" ]] && rvm_ruby_string="$rvm_ruby_interpreter"
|
@@ -462,9 +462,14 @@ __rvm_ruby_string()
|
|
462
462
|
# Stash the ruby string.
|
463
463
|
ruby_string=${rvm_ruby_string:-""}
|
464
464
|
gemset_name=${rvm_gemset_name:-""}
|
465
|
+
repo_url=${rvm_ruby_repo_url:-""}
|
466
|
+
branch_name=${rvm_ruby_repo_branch:-""}
|
465
467
|
|
466
468
|
__rvm_unset_ruby_variables
|
467
469
|
|
470
|
+
rvm_ruby_repo_url=${repo_url:-""}
|
471
|
+
rvm_ruby_repo_branch=${branch_name:-""}
|
472
|
+
|
468
473
|
if [[ ! -z "$gemset_name" ]] ; then
|
469
474
|
rvm_gemset_name="$gemset_name"
|
470
475
|
rvm_sticky_flag=1 # <- not sold on this.
|
data/scripts/update
CHANGED
@@ -126,7 +126,7 @@ andand_return_warning()
|
|
126
126
|
thank_you()
|
127
127
|
{
|
128
128
|
printf "
|
129
|
-
${name:-"$
|
129
|
+
${name:-"$USER"},
|
130
130
|
|
131
131
|
Thank you very much for using RVM! I sincerely hope that RVM helps to
|
132
132
|
make your work both easier and more enjoyable.
|
@@ -599,7 +599,9 @@ if [[ $upgrade_flag -eq 0 ]] ; then
|
|
599
599
|
./scripts/notes
|
600
600
|
fi
|
601
601
|
|
602
|
-
|
602
|
+
if command -v git > /dev/null 2>&1 ; then
|
603
|
+
name="$(git config user.name 2>/dev/null)"
|
604
|
+
fi
|
603
605
|
|
604
606
|
if [[ ${upgrade_flag:-0} -eq 1 ]] ; then
|
605
607
|
|
data/scripts/utility
CHANGED
@@ -48,7 +48,7 @@ __rvm_teardown()
|
|
48
48
|
|
49
49
|
fi
|
50
50
|
|
51
|
-
unset rvm_ruby_strings rvm_head_flag rvm_prior_cc next_token rvm_bin_path rvm_error_message rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_interactive_flag rvm_man_path rvm_parse_break rvm_rc_files rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_tag rvm_ruby_version rvm_selfcontained rvm_token rvm_ruby_load_path rvm_path_flag rvm_ruby_require rvm_action
|
51
|
+
unset rvm_ruby_strings rvm_head_flag rvm_prior_cc next_token rvm_bin_path rvm_error_message rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_interactive_flag rvm_man_path rvm_parse_break rvm_rc_files rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_tag rvm_ruby_version rvm_selfcontained rvm_token rvm_ruby_load_path rvm_path_flag rvm_ruby_require rvm_action
|
52
52
|
|
53
53
|
[[ ${rvm_dump_environment_flag:-0} -eq 1 ]] && __rvm_dump_environment
|
54
54
|
|
@@ -243,7 +243,7 @@ __rvm_remove_rvm_from_path()
|
|
243
243
|
# Run a specified command and log it.
|
244
244
|
__rvm_run()
|
245
245
|
{
|
246
|
-
local name log
|
246
|
+
local name log temp_log_path command message
|
247
247
|
|
248
248
|
name="${1:-""}"
|
249
249
|
command="${2:-""}"
|
@@ -258,12 +258,12 @@ __rvm_run()
|
|
258
258
|
fi
|
259
259
|
|
260
260
|
if [[ -n "${rvm_ruby_string:-""}" ]] ; then
|
261
|
-
|
261
|
+
temp_log_path="${rvm_log_path:-"$rvm_path/log"}/$rvm_ruby_string"
|
262
262
|
else
|
263
|
-
|
263
|
+
temp_log_path="${rvm_log_path:-"$rvm_path/log"}"
|
264
264
|
fi
|
265
265
|
|
266
|
-
log="$
|
266
|
+
log="$temp_log_path/$name.log"
|
267
267
|
|
268
268
|
if [[ ! -d "${log%\/*}" ]] ; then
|
269
269
|
\mkdir -p "${log%\/*}"
|
@@ -363,7 +363,8 @@ __rvm_nuke_rvm_variables()
|
|
363
363
|
# Unset ruby-specific variables
|
364
364
|
__rvm_unset_ruby_variables()
|
365
365
|
{
|
366
|
-
unset rvm_ruby_flag $(env | awk -F= '/^rvm_ruby_/{printf $1" "}')
|
366
|
+
# unset rvm_ruby_flag $(env | awk -F= '/^rvm_ruby_/{printf $1" "}')
|
367
|
+
unset rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_tag rvm_ruby_version rvm_ruby_load_path rvm_ruby_require rvm_head_flag
|
367
368
|
}
|
368
369
|
|
369
370
|
# TODO: Should be able to...
|
@@ -824,19 +825,15 @@ __rvm_update_rvm()
|
|
824
825
|
stable_version="$(curl -s $version_url)"
|
825
826
|
|
826
827
|
__rvm_run "fetch" \
|
827
|
-
"$rvm_path/scripts/fetch \
|
828
|
-
'http://rvm.beginrescueend.com/releases/rvm-${stable_version}.tar.gz'" \
|
828
|
+
"$rvm_path/scripts/fetch 'http://rvm.beginrescueend.com/releases/rvm-${stable_version}.tar.gz'" \
|
829
829
|
"fetching rvm-${stable_version}.tar.gz"
|
830
830
|
|
831
831
|
__rvm_run "extract" \
|
832
|
-
"gunzip < \
|
833
|
-
\"${rvm_archives_path:-"$rvm_path/archives"}/rvm-${stable_version}.tar.gz\" \
|
834
|
-
| tar xf - -C ${rvm_src_path:-"$rvm_path/src"}" \
|
832
|
+
"gunzip < \"${rvm_archives_path:-"$rvm_path/archives"}/rvm-${stable_version}.tar.gz\" | tar xf - -C ${rvm_src_path:-"$rvm_path/src"}" \
|
835
833
|
"Extracting rvm-${stable_version}.tar.gz ..."
|
836
834
|
|
837
835
|
__rvm_run "install" \
|
838
|
-
"builtin cd ${rvm_src_path:-"$rvm_path/src"}/rvm-${stable_version}
|
839
|
-
./install" \
|
836
|
+
"builtin cd ${rvm_src_path:-"$rvm_path/src"}/rvm-${stable_version}/; ./install" \
|
840
837
|
"Installing rvm-${stable_version}..."
|
841
838
|
fi
|
842
839
|
)
|
@@ -1555,3 +1552,22 @@ __rvm_expand_ruby_string()
|
|
1555
1552
|
|
1556
1553
|
return $?
|
1557
1554
|
}
|
1555
|
+
|
1556
|
+
# My concern here is that this will slow things down quite a bit.
|
1557
|
+
# This is originally from
|
1558
|
+
# http://github.com/teleological/rvm/commit/21d6083db3fffc5fa92b9ea8814f3f28f7e48c7f#commitcomment-178001
|
1559
|
+
# Is there a zsh setting to counter the issue instead of this?
|
1560
|
+
__rvm_export_if_set()
|
1561
|
+
{
|
1562
|
+
local parameter value
|
1563
|
+
|
1564
|
+
for parameter in $* ; do
|
1565
|
+
eval "value=\${$parameter:-\"\"}"
|
1566
|
+
|
1567
|
+
if [[ -n "$value" ]] ; then
|
1568
|
+
export $parameter
|
1569
|
+
fi
|
1570
|
+
done
|
1571
|
+
|
1572
|
+
return 0
|
1573
|
+
}
|
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: 53
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 17
|
10
|
+
version: 1.0.17
|
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-10-
|
18
|
+
date: 2010-10-29 00:00:00 -04:00
|
19
19
|
default_executable: rvm-install
|
20
20
|
dependencies: []
|
21
21
|
|