Created
July 26, 2011 12:29
-
-
Save skuroki/1106637 to your computer and use it in GitHub Desktop.
rvm install script for ubuntu
This file contains hidden or 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
sudo apt-get install -y \ | |
build-essential \ | |
openssl \ | |
libreadline6 \ | |
libreadline6-dev \ | |
curl \ | |
git-core \ | |
zlib1g \ | |
zlib1g-dev \ | |
libssl-dev \ | |
libyaml-dev \ | |
libsqlite3-0 \ | |
libsqlite3-dev \ | |
sqlite3 \ | |
libxml2-dev \ | |
libxslt-dev \ | |
autoconf \ | |
libc6-dev \ | |
ncurses-dev \ | |
automake \ | |
libtool \ | |
bison \ | |
subversion \ | |
; # check `rvm requirements` | |
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
. $HOME/.rvm/scripts/rvm # あるいは再起動でもよい | |
rvm install 1.9.3 |
以前に
rvm pkg install readline
rvm pkg install zlib # これは特にやってないとgemできない
rvm pkg install openssl
rvm pkg install libxml2
の4行を外して試してみたところ、zlibは入ってなくて、各種gemのinstallに失敗したことがあったので、上記のスクリプトのまま使用しています。詳細な検証はしていません。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zlib1g-dev 入れてあっても rvm pkg install zlib しないとダメですか?