Updated Installing Tracks 2.0 on Ubuntu 11.04 (markdown)

gfilicetti 2011-09-04 11:38:30 -07:00
parent e0fc67f7d7
commit ed38476a47

@ -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.