-
Notifications
You must be signed in to change notification settings - Fork 62
Software
gazeldx edited this page Jan 5, 2013
·
16 revisions
下文参考自https://rvm.io/rvm/install/
$ \curl -L https://get.rvm.io | bash -s stable --ruby
这一步报错是正常的,因为还要安装一些依赖
$ rvm requirements
会出现一些提示,根据提示内容安装必须的软件包,下面是一个示例:
$ sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config
创建gemset并将此gemset设为默认:
$ rvm gemset create [email protected]
$ rvm use [email protected] --default