Skip to content

Instantly share code, notes, and snippets.

@cosmo0920
Created November 3, 2011 22:48
Show Gist options
  • Save cosmo0920/1338161 to your computer and use it in GitHub Desktop.
Save cosmo0920/1338161 to your computer and use it in GitHub Desktop.
11/4日時点でmikutterの環境をrb193へ上げるパッチ。応急処置です。
--- build.sh 2011-10-26 18:55:09.000000000 +0900
+++ build_.sh 2011-11-04 07:47:41.410828740 +0900
@@ -4,7 +4,7 @@
# mikutter environment builder for developer (debian & ubuntu)
#**************************************************************
-RUBY_SERVER='http://ftp.ruby-lang.org/pub/ruby'
+RUBY_SERVER='http://ftp.ruby-lang.org/pub/ruby/1.9'
INSTALL_DIR='/opt/miku'
SRC_DIR="${INSTALL_DIR}/src"
DEPENDS='gcc make bzip2 wget pkg-config subversion
@@ -74,7 +74,7 @@
# Setup ruby environment
#-------------------------------------------------------
wget -O- ${RUBY_SERVER} |
-egrep -o '1..?..?-p[0-9]{1,3}' | sort | uniq |
+egrep -o '1..?..3-p[0-9]{1,3}' | sort | uniq |
while read RUBY_VERSION; do
S_VERSION=`echo ${RUBY_VERSION} | sed 's/-p.*//' | sed 's/\.//g'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment