本文共 1539 字,大约阅读时间需要 5 分钟。
$ sudo apt-get install ruby1.9.1$ sudo ln -s /usr/bin/ruby1.9.1 /usr/bin/ruby$ sudo apt-get install libopenssl-ruby1.9.1
$ sudo apt-get install rubygems1.9.1$ sudo ln -s /usr/bin/gem1.9.1 /usr/bin/gem
Installing Rails
$ sudo apt-get install rails
or
$ sudo gem install railsSuccessfully installed rake-0.8.7Successfully installed activesupport-2.3.5Successfully installed activerecord-2.3.5Successfully installed rack-1.0.1Successfully installed actionpack-2.3.5Successfully installed actionmailer-2.3.5Successfully installed activeresource-2.3.5Successfully installed rails-2.3.58 gems installedInstalling ri documentation for rake-0.8.7...Installing ri documentation for activesupport-2.3.5...Installing ri documentation for activerecord-2.3.5...Installing ri documentation for rack-1.0.1...Installing ri documentation for actionpack-2.3.5...Installing ri documentation for actionmailer-2.3.5...Installing ri documentation for activeresource-2.3.5...Installing ri documentation for rails-2.3.5...Updating class cache with 0 classes...Installing RDoc documentation for rake-0.8.7...Installing RDoc documentation for activesupport-2.3.5...Installing RDoc documentation for activerecord-2.3.5...Installing RDoc documentation for rack-1.0.1...Installing RDoc documentation for actionpack-2.3.5...Installing RDoc documentation for actionmailer-2.3.5...Installing RDoc documentation for activeresource-2.3.5...Installing RDoc documentation for rails-2.3.5...
原文出处:Netkiller 系列 手札
本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。