===== Installation guides =====
Currently, installing Flapjack is pretty ghetto. It's distributed as a RubyGem, and has a heavy set of dependencies.
Native packages are [[packaging_guide|in the works]], so please bear with us until a less bongtastic install procedure is available.
If you would like to contribute packages for your operating system, please check out the [[packaging_guide|packaging guide]].
==== Ubuntu Hardy through RubyGems=====
=== Dependencies ===
Add the following lines to ''/etc/apt/sources.list.d/flapjack.list'':
deb http://ppa.launchpad.net/ubuntu-ruby-backports/ubuntu hardy main
deb http://ppa.launchpad.net/auxesis/ppa/ubuntu hardy main
Add GPG keys for the repos:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 288BA53BCB7DA731
Update your package list:
sudo apt-get update
Install Ruby dependencies:
sudo apt-get install build-essential libsqlite3-dev
Install rubygems + beanstalkd:
sudo apt-get install rubygems beanstalkd
To start beanstalkd, set ''ENABLED=1'' in ''/etc/default/beanstalkd''.
Start beanstalkd:
sudo /etc/init.d/beanstalkd start
=== Installation ===
Add the Gemcutter RubyGems server to your Gem sources:
sudo gem sources -a http://gemcutter.org
Install the Flapjack gem:
sudo gem install flapjack
Then run the magic configuration script to set up init scripts:
sudo install-flapjack-systemwide
The script will prompt you if it wants to do anything destructive.