Then run, apt-get update && apt-get upgrade

# Configure SSH — You can just SSH in to do the Install from here…
apt-get install openssh-server

# Configure the Base System along with Trac/SVN
apt-get install lynx autossh screen curl postfix tree
xtightvncviewer module-assistant build-essential fakeroot
dh-make debconf libstdc++5 gcc-3.3-base trac svnmailer debfoster

aptitude install -y ruby ruby-dev ri rdoc irb ruby-examples
libdbm-ruby libgdbm-ruby libopenssl-ruby libreadline-ruby
rubygems

sudo gem update –system
sudo gem install deprec –include-dependencies
sudo gem install rails –include-dependencies
sudo gem install termios

转载请注明:韦旭红的点点滴滴 » ruby on rails 环境的安装步骤