Ruby on Rails 学习笔记 1 环境
ruby的安装
系统存在多个ruby版本的情况下,建议使用rvm
Install rvm
$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Load RVM into your shell sessions as a function 其实就是在.bash_profile里写一句话
user$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
Reload shell Configuration
user$ source .bash_profile
Install ruby with rvm
user$ rvm install 1.9.2
select ruby version
user$ rvm use 1.9.2 user$ rvm use system
安装rails
user$ gem install rails
安装bundler
user$ bundle install
相关推荐
何志文 2020-05-11
JOO 2020-04-26
龙浩然 2014-06-03
yohunl 2008-01-11
wujiajax 2011-07-22
samllQ的备忘录 2011-07-22
wl00 2020-10-28
EricNet 2020-07-05
EricNet 2020-05-27
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