From ed38476a479eef6f0e60ea6a6707687991cc34cd Mon Sep 17 00:00:00 2001 From: gfilicetti Date: Sun, 4 Sep 2011 11:38:30 -0700 Subject: [PATCH] Updated Installing Tracks 2.0 on Ubuntu 11.04 (markdown) --- Ubuntu-11.04-minimal-setup.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Ubuntu-11.04-minimal-setup.md b/Ubuntu-11.04-minimal-setup.md index b79d60d..02f29c8 100644 --- a/Ubuntu-11.04-minimal-setup.md +++ b/Ubuntu-11.04-minimal-setup.md @@ -26,11 +26,20 @@ Tracks needs a set of ruby gems. The Gemfile specifies them. There are problems `gem "ZenTest", "=4.6.0"` -For hoe, you can fix it by uncommenting it. The test suite will not work though. Install the remaining gems by calling bundle: +For hoe, you can fix it by uncommenting it. The test suite will not work though. + +Install the remaining gems by calling bundle: export PATH=/var/lib/gems/1.8/bin:$PATH bundle install +**Note:** If you're installing behind Apache, any gems specified in the Gemfile as coming from git will NOT be recognized by Passenger and you will get an exception that it has not been downloaded. The workaround for this Passenger bug is the following: + + bundle pack + bundle install --path vendor/cache + +More details can be found in [this forum post](http://www.getontracks.org/forums/viewthread/2220/). + ## Setting up the Database The minimal install uses sqlite3. This eliminates the need for installing and running mysql. You need to create a configuration file in `config/database.yml`. It can look like the one below, however, you might want to alter the paths to the sqlite databases.