Project

General

Profile

yaml.rb:133:in `load': syntax error on line 68, col 0: `production:' (ArgumentError)

Added by Gautier Georges almost 14 years ago

Hello there,
I am new in Ruby and Redmine so excuse any irrelevant comment :o/
I just installed redmine on a Ubuntu 9.10 server and test it:
$sudo ruby script/server webrick -e production

And it was running fine. :)
So I configured Apache
$sudo nano /etc/apache2/mods-available/passenger.load

     LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so

$sudo nano /etc/apache2/mods-available/passenger.conf
     PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.11
     PassengerRuby /usr/bin/ruby1.8

_ $sudo a2enmod rewrite
$sudo /etc/init.d/apache2 restart_
Now I get on both webrick and Apache the following error:
Error message:
syntax error on line 68, col 0: `production:'
Exception class:
ArgumentError

I attached the full error trace page
What ever I am doing to reconfigure Apache I get this error
Any idea?


Replies (1)

SOLVED: yaml.rb:133:in `load': syntax error on line 68, col 0: `production:' (ArgumentError) - Added by Gautier Georges almost 14 years ago

After hours looking around I found that for some unknown reason, development: and production: entries were duplicated in the file ./redmine/config/email.yml
I commented the duplicated lines and it runs.

    (1-1/1)