-
-
Save kakutani/243181 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 57bbc6ec737c07e0455f54a4664e109e598b9e5d Mon Sep 17 00:00:00 2001 | |
From: KAKUTANI Shintaro <[email protected]> | |
Date: Thu, 26 Nov 2009 11:06:37 +0900 | |
Subject: [PATCH] fix 'rvm install shyouhei' was broken. | |
thanks to fistsvck! | |
see http://gist.github.com/243181 | |
Signed-off-by: KAKUTANI Shintaro <[email protected]> | |
--- | |
scripts/ruby-installer | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/scripts/ruby-installer b/scripts/ruby-installer | |
index 6151d5b..c4d42f5 100644 | |
--- a/scripts/ruby-installer | |
+++ b/scripts/ruby-installer | |
@@ -410,7 +410,7 @@ RubyWrapper | |
PATH=$(echo $PATH | tr ':' '\n' | awk '$0 !~ /rvm/' | paste -sd : -) | |
PATH=$rvm_bin_path:$PATH ; export PATH | |
- rvm_ruby_repo_url=$rvm_shyouhei_repo_url | |
+ #rvm_ruby_repo_url=$rvm_shyouhei_repo_url | |
unset rvm_ruby_configure | |
rvm_ruby_src_path=$rvm_ruby_home | |
# rvm_ruby_make="rake" | |
@@ -436,7 +436,7 @@ RubyWrapper | |
if [[ -s ./Makefile ]] && [[ -z "$rvm_reconfigure_flag" ]] ; then | |
(($rvm_debug_flag)) && $rvm_scripts_path/log "debug" "Skipping configure step, Makefile exists so configure must have already been run." | |
- elif [[ ! -z "rvm_ruby_configure" ]] ; then | |
+ elif [[ ! -z "$rvm_ruby_configure" ]] ; then | |
$rvm_ruby_configure | |
elif [[ -s ./configure ]] ; then | |
__rvm_run "configure" "./configure --prefix=$rvm_ruby_home $rvm_ruby_configure_flags $configure_parameters" "Configuring $rvm_ruby_package_name using $rvm_ruby_configure_flags, this may take a while depending on your cpu(s)..." | |
-- | |
1.6.2.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment