rvm 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/bash/rvm +8 -8
- data/rvm.gemspec +1 -1
- metadata +1 -1
data/bash/rvm
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
rvm_author="Wayne E. Seguin"
|
4
4
|
rvm_author_email="wayneeseguin@gmail.com"
|
5
5
|
rvm_website="http://rvm.beginrescueend.com/"
|
6
|
-
rvm_version="0.0.
|
6
|
+
rvm_version="0.0.20"
|
7
7
|
rvm_updated="2009.08.25"
|
8
8
|
|
9
9
|
#
|
@@ -183,7 +183,7 @@ function rvm-install-source {
|
|
183
183
|
else
|
184
184
|
if [ ! -f "$package_name.tar.gz" ] ; then
|
185
185
|
rvm-log-info "\tDownloading $package_name, this may take a while depending on your connection..."
|
186
|
-
$curl $url
|
186
|
+
eval $curl $url
|
187
187
|
fi
|
188
188
|
rvm-log-info "\tExtracting $package_name..."
|
189
189
|
tar xzf $package_name.tar.gz && cd $package_name
|
@@ -209,7 +209,7 @@ function rvm-install-source {
|
|
209
209
|
if [ -d $gem_package_name ] ; then
|
210
210
|
cd $gem_package_name
|
211
211
|
else
|
212
|
-
if [ ! -f $gem_package_name.tgz ] ; then $curl $gem_url ; fi
|
212
|
+
if [ ! -f $gem_package_name.tgz ] ; then eval $curl $gem_url ; fi
|
213
213
|
tar zxf $gem_package_name.tgz && cd $gem_package_name
|
214
214
|
fi
|
215
215
|
# Well this is fun... fix nil error on require_paths:
|
@@ -244,7 +244,7 @@ function rvm-install-ruby {
|
|
244
244
|
else
|
245
245
|
if [ ! -f "$package_name.tar.gz" ] ; then
|
246
246
|
rvm-log-info "\tDownloading $package_name, this may take a while depending on your connection..."
|
247
|
-
$curl $url
|
247
|
+
eval $curl $url
|
248
248
|
fi
|
249
249
|
rvm-log-info "\tExtracting $package_name..."
|
250
250
|
tar xzf $package_name.tar.gz && cd $package_name
|
@@ -263,7 +263,7 @@ function rvm-install-ruby {
|
|
263
263
|
if [ -d $gem_package_name ] ; then
|
264
264
|
cd $gem_package_name
|
265
265
|
else
|
266
|
-
if [ ! -f $gem_package_name.tgz ] ; then $curl $gem_url ; fi
|
266
|
+
if [ ! -f $gem_package_name.tgz ] ; then eval $curl $gem_url ; fi
|
267
267
|
tar zxf $gem_package_name.tgz && cd $gem_package_name
|
268
268
|
fi
|
269
269
|
# Well this is fun... fix nil error on require_paths:
|
@@ -293,7 +293,7 @@ function rvm-install-ruby {
|
|
293
293
|
else
|
294
294
|
if [ ! -f "$zipfile.zip" ] ; then
|
295
295
|
rvm-log-info "\tDownloading $zipfile, this may take a while depending on your connection..."
|
296
|
-
$curl $url
|
296
|
+
eval $curl $url
|
297
297
|
fi
|
298
298
|
rvm-log-info "\tExtracting $zipfile..."
|
299
299
|
jar xf $zipfile.zip
|
@@ -351,7 +351,7 @@ function rvm-uninstall {
|
|
351
351
|
ree)
|
352
352
|
version=${version-1.8.6}
|
353
353
|
if [ "$version" = "1.8.6" ] ; then
|
354
|
-
package_name="
|
354
|
+
package_name="ruby-enterprise-$version-${3-20090610}"
|
355
355
|
else
|
356
356
|
rvm-log-fail "Unknown Ruby Enterprise Edition version: $version"
|
357
357
|
fi
|
@@ -383,7 +383,7 @@ function rvm-uninstall {
|
|
383
383
|
if [ ! -z "$package_name" ] ; then
|
384
384
|
for path in $source_path $install_path ; do
|
385
385
|
if [ -d $path/$package_name ] ; then
|
386
|
-
rvm-log-info "Removing $path/$package_name"
|
386
|
+
rvm-log-info "Removing $path/$package_name..."
|
387
387
|
rm -rf $path/$package_name
|
388
388
|
fi
|
389
389
|
done
|
data/rvm.gemspec
CHANGED