Created
June 5, 2012 08:30
-
-
Save katsuyoshi/2873637 to your computer and use it in GitHub Desktop.
Ruby 1.8.7をMacOSX 10.4 へのインストール
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
mkdir tmp | |
cd tmp | |
curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p358.zip | |
unzip ruby-1.8.7-p358.zip | |
cd ruby-1.8.7-p358 | |
./configure | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
・ターミナルで
cd
touch .bash_profile
open -e .bash_profile
・テキストエディターが立ち上がるので、下を入力後保存
export PATH=/usr/local/bin:$PATH
・ターミナルを開き直して
ruby -v
1.8.7と出たらOK
ruby 1.8.7 (2012-02-08 patchlevel 358) [powerpc-darwin8.6.0]