linux下安装Ruby/RubyGems和Rails

1,Ruby
sudo aptitude install ruby ri rdoc irb libyaml-ruby libzlib-ruby


2,RubyGems
http://rubyforge.org/projects/rubygems/下载最新版的RubyGems
解压后运行以下命令安装即可:
sudo ruby setup.rb


3,Rails
用RubyGems安装Rails:
sudo gem install rails

你可能感兴趣的:(linux,Ruby,rubygems,Rails)