install problems creating database structure
i'm sory for such a newbie question but i have problems createing the database struc with rake db:migrate RAILS_ENV="production". You can barly call me a developer more like a Business Engineer who is stunned by your outstanding work..
My goal is just to setup a virtual machine with redmine running to give my company a demonstration (and hopefully convince them to implement it in our workflow)
here is what i did so far.
create virtual machine Kubuntu 8.04 using virtulbox host windows xp
installed rails 2.0.2 (ruby 1.8.6 already installed)
installed mysql 5.0
created the database
checked out redmine 7.0 (checkout folder is /home/sebastianjonas/redmine-0.7)
now im stuck with creating the initial database structure.
i dont know in wich folder i should execute rake db:migrate RAILS_ENV="production"
i tried it in /home/sebastianjonas/redmine-0.7 with the following result:
no such file to load -- initializer
(See full trace by running task with --trace)
any tips where to execute the command (kubuntu) or if i missed any installstep?
thanks in advance.
okay. i just downloaded 0.7.3 and here is what happend.
Rails Error: Unable to access log file. Please ensure that /home/sebastianjonas/redmine-0.7.3/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
Select language: bg, cs, da, de, en, es, fi, fr, he, hu, it, ja, ko, lt, nl, no, pl, pt, pt-br, ro, ru, sr, sv, th, uk, zh, zh-tw [en] de
Error: No such file or directory - /tmp/mysql.sock
Default configuration data was not loaded.
i suppose i have to change something with my mysql config or with redmine folders?
anybody any idea?
When an install guide fail, you have to read the FAQ. 5th entry:
Better: google answer faster.
thx. for the help. worked out well. redmine is up and runnig!
If your database.yml configuration is correct then and u r using mysql then u might need to install ruby mysql -
apt-get install libmysql-ruby