Hello everyone, I cannot get mongrel_rails or mongrel_cluster working fine. When I try to to launch one of them, I always get the same error: # mongrel_rails start -p 8080 -e production -c /var/www/domain.com/ www/current -P /var/www/domain.com/www/current/log/mongrel.pid ** Ruby version is not up-to-date; loading cgi_multipart_eof_fix ** Starting Mongrel listening at 0.0.0.0:8080 ** Starting Rails with production environment... /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 33, col 0: ` '' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load'' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:523:in `database_configuration'' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:228:in `initialize_database'' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:88:in `process'' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:43:in `send'' from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ initializer.rb:43:in `run'' from /var/www/gn2.fr/www/current/config/environment.rb:20 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: 27:in `gem_original_require'' ... 10 levels... from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ command.rb:211:in `run'' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/ mongrel_rails:243 from /usr/bin/mongrel_rails:16:in `load'' from /usr/bin/mongrel_rails:16 I am using ruby 1.8.5, rails 1.2.3, mongrel 1.0.1, and I tried mongrel_cluster 1.0.2 and 0.2.1. Do you know what I could have wrong? Thank you very much in advance ! Adrien. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
check the mongrel log to see if it has any more information... also check that your database.yml doesn''t have a syntax error On Oct 14, 4:01 pm, Adrien <gnd...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello everyone, > > I cannot get mongrel_rails or mongrel_cluster working fine. When I try > to to launch one of them, I always get the same error: > > # mongrel_rails start -p 8080 -e production -c /var/www/domain.com/ > www/current -P /var/www/domain.com/www/current/log/mongrel.pid > > ** Ruby version is not up-to-date; loading cgi_multipart_eof_fix > ** Starting Mongrel listening at 0.0.0.0:8080 > ** Starting Rails with production environment... > /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 33, col > 0: ` '' (ArgumentError) > from /usr/lib/ruby/1.8/yaml.rb:133:in `load'' > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > initializer.rb:523:in `database_configuration'' > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > initializer.rb:228:in `initialize_database'' > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > initializer.rb:88:in `process'' > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > initializer.rb:43:in `send'' > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > initializer.rb:43:in `run'' > from /var/www/gn2.fr/www/current/config/environment.rb:20 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > 27:in `gem_original_require'' > ... 10 levels... > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ > command.rb:211:in `run'' > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/ > mongrel_rails:243 > from /usr/bin/mongrel_rails:16:in `load'' > from /usr/bin/mongrel_rails:16 > > I am using ruby 1.8.5, rails 1.2.3, mongrel 1.0.1, and I tried > mongrel_cluster 1.0.2 and 0.2.1. > > Do you know what I could have wrong? > > Thank you very much in advance ! > Adrien.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ok, I remembered that I installed libmysql-ruby1.8 today on my server. I remembered that when you told me to check my database.yml. I tried to uninstall it, and now, everything works ! However I don''t really understand the link between this lib and mongrel... Thank you very much for your help ! Adrien. On 14 oct, 22:09, jemminger <jemmin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> check the mongrel log to see if it has any more information... also > check that your database.yml doesn''t have a syntax error > > On Oct 14, 4:01 pm, Adrien <gnd...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hello everyone, > > > I cannot get mongrel_rails or mongrel_cluster working fine. When I try > > to to launch one of them, I always get the same error: > > > # mongrel_rails start -p 8080 -e production -c /var/www/domain.com/ > > www/current -P /var/www/domain.com/www/current/log/mongrel.pid > > > ** Ruby version is not up-to-date; loading cgi_multipart_eof_fix > > ** Starting Mongrel listening at 0.0.0.0:8080 > > ** Starting Rails with production environment... > > /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 33, col > > 0: ` '' (ArgumentError) > > from /usr/lib/ruby/1.8/yaml.rb:133:in `load'' > > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > > initializer.rb:523:in `database_configuration'' > > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > > initializer.rb:228:in `initialize_database'' > > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > > initializer.rb:88:in `process'' > > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > > initializer.rb:43:in `send'' > > from /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/ > > initializer.rb:43:in `run'' > > from /var/www/gn2.fr/www/current/config/environment.rb:20 > > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb: > > 27:in `gem_original_require'' > > ... 10 levels... > > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ > > command.rb:211:in `run'' > > from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/ > > mongrel_rails:243 > > from /usr/bin/mongrel_rails:16:in `load'' > > from /usr/bin/mongrel_rails:16 > > > I am using ruby 1.8.5, rails 1.2.3, mongrel 1.0.1, and I tried > > mongrel_cluster 1.0.2 and 0.2.1. > > > Do you know what I could have wrong? > > > Thank you very much in advance ! > > Adrien.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---