Ubuntu上rvm + rails安装
1.安装rvm
\curl -L https://get.rvm.io | bash -s stable
2.rvm安装依赖
rvm requirements
3.安装ruby/rails依赖
sudo apt-get update sudo 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 #确认源只剩taobao gem install rails --debug # --debug可以看到反馈信息
相关推荐
wl00 2020-10-28
EricNet 2020-07-05
EricNet 2020-05-27
何志文 2020-05-11
JOO 2020-04-26
happyfreeangel 2020-04-09
Poisedflw 2020-03-23
yangliuhbhd 2020-03-06
Ben的程序员生涯 2013-06-01
chenshuixian 2013-06-01
wes0 2014-05-31
mrice00 2019-12-20
EricNet 2019-12-11
89304896 2019-12-08
lihaoningxia 2013-07-09
userguanguan 2015-03-16