189 8069 5689

InstallrubyonrailsinUbuntu12.04

参考:http://ruby-china.org/wiki/install-rails-on-ubuntu-12-04-server

创新互联是一家专注于网站设计制作、做网站与策划设计,巫山网站建设哪家好?创新互联做网站,专注于网站建设10年,网设计领域的专业建站公司;建站业务涵盖:巫山等地区。巫山做网站价格咨询:18980820575

简述如下

1. 更改源并update

2. Install 第三方库

3. Install RVM

4. Install Ruby

5. Install Rails

安装版本

rvm -v

rvm 1.22.9 (master) by Wayne E. Seguin , Michal Papis [https://rvm.io/]

ruby -v

ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]

rails -v

Rails 4.0.0

SQLite3

1.3.8

碰到的问题:

Q1: There is no checksum for 'http://production.cf.rubygems.org/rubygems/rubygems-2.1.3.tgz' or 'rubygems-2.1.3.tgz', it's not possiable to validate it.

A1: rvm get stable or rvm get head

Reference:http://stackoverflow.com/questions/15378312/rvm-install-error-there-is-no-checksum-its-not-possible-to-validate-it


新闻标题:InstallrubyonrailsinUbuntu12.04
新闻来源:http://jkwzsj.com/article/gcheho.html

其他资讯