hi mbuf,<br><br><br>i must maintain that i am still stuck with the error.after running all the services and all ,  i am supposed to set up the website for which i run :<br>[git@localhost gitorious]$ export RAILS_ENV=production<br>
this gives fine result..In the next step while i try to create a database for gitorious the error shows up stating its an syntax error like:<br>[git@localhost gitorious]$ rake db:create <br>(in /var/www/gitorious)<br>rake aborted!<br>
syntax error on line 18, col 2: `  host: localhost'<br><br>(See full trace by running task with --trace)<br> when i run it with  -- trace i recieve the following o/p from which i cannot detect where is the error in line 18 col 2.<br>
<br>o/p is like:<br>[git@localhost gitorious]$ rake db:create:all --trace<br>(in /var/www/gitorious)<br>** Invoke db:create:all (first_time)<br>** Invoke db:load_config (first_time)<br>** Invoke rails_env (first_time)<br>
** Execute rails_env<br>** Execute db:load_config<br>rake aborted!<br>syntax error on line 18, col 2: `  host: localhost'<br>/usr/lib/ruby/1.8/yaml.rb:133:in `load'<br>/usr/lib/ruby/1.8/yaml.rb:133:in `load'<br>
/var/www/gitorious/config/../vendor/rails/railties/lib/initializer.rb:906:in `database_configuration'<br>/var/www/gitorious/vendor/rails/railties/lib/tasks/databases.rake:4<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'<br>/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'<br>/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'<br>
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'<br>/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31<br>/usr/bin/rake:19:in `load'<br>/usr/bin/rake:19<br>[git@localhost gitorious]$ <br><br><br>i have compared manuels to find out if there are other ways to create the database but to no avail that seems to be the only syntax.neither did iget a satisfactory search result from the google.there are mentions of similar errors but due to absolutely different causes.please tell me how to proceed on henceforth.<br>
<br><br><br>regards,<br>koyel<br><br><div class="gmail_quote">On Sat, Sep 19, 2009 at 6:06 PM, Koyel banerjee <span dir="ltr"><<a href="mailto:kopecks89@gmail.com">kopecks89@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi all,<br><br>i have made a commit regarding my project till whats done.<br><a href="http://www.gitorious.org/blackbird89/blackbird89/commit/e08d7eacccacb9975d45d07aa49e4c333974db9b" target="_blank">http://www.gitorious.org/blackbird89/blackbird89/commit/e08d7eacccacb9975d45d07aa49e4c333974db9b</a><br>

please have a look and let me know if there is anything wrong or more to be added.<br><br><br>regards,<br><font color="#888888"><br>koyel <br>
</font></blockquote></div><br>