Installing Typo on Debian and Ubuntu
To get Typo running on Debian or Ubuntu, you first need to install some packages to get to the point where rubygems works:
sudo apt-get install ruby1.8 ruby1.8-dev rubygems1.8
You will also need some development packages to install some of the gems Typo depends on:
sudo apt-get install libxslt1-dev
Finally, install the development packages for the database you want to use, either:
sudo apt-get install libmysqlclient-dev
, for MySQL
or:
sudo apt-get install libpq-dev
, for PostgreSQL
or:
sudo apt-get install libsqlite3-dev
, for SQLite3.
Next, install bundler:
sudo gem install bundler
Now, you're all set to follow the instructions in Installing Typo.
Note: If you're going to use passenger, its installer will guide you through installing its dependencies.
Note2: If you can, uninstall rake provided by Debian/Ubuntu: that version is far too old, and rake will be installed via bundler