Ruby Rails on fresh Ubuntu 10.04 Install

Building a Rails application from scratch on Ubuntu 10.04

already installed ruby, via apt-get, and have mysql running,

Trying to get mysql running now.

sudo apt-get install ruby
sudo-apt-get install rubygems
sudo gem install rails
sudo gem install haml

sudo apt-get install build-essential -yf
sudo apt-get install libmysqlclient15-dev mysql-client mysql-common
sudo apt-get install libmysql++-dev
sudo apt-get install ruby1.8-dev
sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
mkdir sources; cd sources
rails depot; cd depot
* edit config/database.yml
* edit config/environment.rb, add config.gem 'haml'


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s