标签:nod lib web libxml2 地址 https sse 否则 taobao
首先進行Linux更新:
$ sudo apt-get update
$ sudo apt-get upgrade
安裝必要的套件:
$ sudo apt-get install build-essential bison 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
$ tar xvfz ruby-2.2.2.tar.gz
$ cd ruby-2.2.2/
$ ./configure
$ make
$ sudo make install
方法二:使用rvm安装ruby(建议) https://ruby-china.org/wiki/rvm-guide 安装2.2.4 使用上述方法某些套件可能安装失败
gem install -v 4.2.3 rails --no-ri --no-rdoc
标签:nod lib web libxml2 地址 https sse 否则 taobao
原文地址:http://www.cnblogs.com/znsongshu/p/6079223.html