Ubuntu上rvm + rails安装
\curl -L https://get.rvm.io | bash -s stable
2.rvm安装依赖
rvm requirements
??
3.安装ruby/rails依赖
sudo apt-get updatesudo apt-get install 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
?
4.安装ruby
rvm install 2.0.0
?
rvm use 2.0.0 --default
?
5.安装rails
gem resource -a http://ruby.taobao.org #添加淘宝作为gem源gem resource -r https://rubygems.org/ #删除原有的rubygems源gem resource -l #确认源只剩taobaogem install rails --debug # --debug可以看到反馈信息
?