hi mbuf,
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 : [...@localhost gitorious]$ export RAILS_ENV=production 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: [...@localhost gitorious]$ rake db:create (in /var/www/gitorious) rake aborted! syntax error on line 18, col 2: ` host: localhost' (See full trace by running task with --trace) 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. o/p is like: [...@localhost gitorious]$ rake db:create:all --trace (in /var/www/gitorious) ** Invoke db:create:all (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) ** Execute rails_env ** Execute db:load_config rake aborted! syntax error on line 18, col 2: ` host: localhost' /usr/lib/ruby/1.8/yaml.rb:133:in `load' /usr/lib/ruby/1.8/yaml.rb:133:in `load' /var/www/gitorious/config/../vendor/rails/railties/lib/initializer.rb:906:in `database_configuration' /var/www/gitorious/vendor/rails/railties/lib/tasks/databases.rake:4 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19 [...@localhost gitorious]$ 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. regards, koyel On Sat, Sep 19, 2009 at 6:06 PM, Koyel banerjee <[email protected]> wrote: > hi all, > > i have made a commit regarding my project till whats done. > > http://www.gitorious.org/blackbird89/blackbird89/commit/e08d7eacccacb9975d45d07aa49e4c333974db9b > please have a look and let me know if there is anything wrong or more to be > added. > > > regards, > > koyel >
_______________________________________________ Users mailing list [email protected] http://lists.dgplug.org/listinfo.cgi/users-dgplug.org
