cd /usr/local/src # 解凍 tar zxf ruby-1.9.2-p0.tar.gz cd ruby-1.9.2-p0 # configure ./configure \ --prefix=/usr make make install