RubyPDF Blog English,Ruby on Rails,Ubuntu Install Ruby on Rails , Lighttpd,Sqlite3 and Mongrel under Ubuntu

Install Ruby on Rails , Lighttpd,Sqlite3 and Mongrel under Ubuntu

nothing but the script I used:
#install Mysql
apt-get install mysql-server

#install Ruby and relative
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 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

#before install Mongrel,
apt-get install build-essential #we need it to compile mongrel and Sqlite3

#intall Mongrel
gem install mongrel –include-dependencies

#install Sqlite3
apt-get install sqlite3 swig libsqlite3-ruby libsqlite3-dev
gem install sqlite3-ruby #compile this need libsqlite.h

#install Lighttpd
apt-get install lighttpd

some useful link
http://mongrel.rubyforge.org/docs/lighttpd.html
http://fo64.com/articles/2005/10/20/rails-on-breezy
http://scottstuff.net/blog/articles/2006/07/23/typo-installer

1 thought on “Install Ruby on Rails , Lighttpd,Sqlite3 and Mongrel under Ubuntu”

  1. Francois Lafortune,
    sorry, I made a mistake, and delete your comment,

    and thank you, I have modified it.

    P.S your comment

    Thanks! Great help.. but the line

    apt-get install install build-essential

    has an extra install in it, it should be

    apt-get install build-essential

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.