linux下ROR的配置 (ubuntu)

阅读更多
#install ruby
apt-get install irb libdbm-ruby1.8 libgdbm-ruby1.8 libmysql-ruby1.8 libmysqlclient14 libopenssl-ruby1.8 libruby1.8-dbg mysql-common ri ri1.8 ruby1.8-dev


#install rubygem
#http://rubyforge.org/projects/rubygems/
wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz
tar zxfv rubygems-0.9.0.tgz
cd rubygems-0.9.0
ruby setup.rb
gem update –system

#install Rails and dependencies
gem install rails –include-dependencies


#install Mysql
apt-get install mysql-server


#intall Mongrel
apt-get install  build-essentia l
gem install mongrel –include-dependencies
 

你可能感兴趣的:(Linux,Ubuntu,rubygems,Rails,MySQL)