Install Ruby on Rails – Use http://www.how-to-linux.com/2008/12/how-to-install-ruby-on-rails-on-centos-52/
Create a database for Tracks
mysql -u root -p
create database tracks;
exit
Download Tracks from http://bsag.bingodisk.com/public/files/tracks-current.zip
Unzip the Tracks archive
unzip tracks-current.zip
Put tracks into /opt
mv tracks-1.7 /opt
Edit /opt/tracks-1.7/config/database.yml
vi /opt/tracks-1.7/config/database.yml
Add you mysql server details
production:
adapter: mysql
database: tracks
hosts: localhost
username: root
password: neveruserrootpassword
Change a config in site.yml
vi /opt/tracks-1.7/config/site.yml
Add something unique in the salt parameter.
Add the Tracks data to the database
rake db:migrate RAILS_ENV=production
If you get this error;
no such file to load — mysql
Download ruby-mysql – http://rubyforge.org/frs/?group_id=4550
tar mysql-ruby-2.7.tar.gz
cd mysql-ruby-2.7
ruby extconf.rb –with-mysql-config
make
make install
Now run the server
script/server -e production
Goto http://localhost:3000
Related posts:
- How to Install Redmine 0.9.3 on Centos Update, Including Apache and SVN Configuration This is on a fresh version of centos and includes;...






































Pingback: install tracks (project/task management tool) on centos 5.4 with postgres backend « Gkoenig’s Blog