Ubuntu下安装Ruby on Rails

1,安装Ruby
sudo apt-get install ruby irb rdoc libmysql-ruby
2,安装Ruby Gems
sudo apt-get install rubygems
3,安装Rails
sudo gem install rails --ignore-dependencies

libopenssl-ruby #webrick依赖包
4,安装mysql
sudo apt-get install mysql-server mysql-client

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