Welcome Guest | Login

"We're sorry, but something went wrong", although no info in logs

Hello
i almost got to deploy my first RoR-app, but the pages using attachement_fu gives the "We're sorry, but something went wrong."-error

the production.log,   fastcgi-log, server.log doesnt contain anything useful it seems. This is from production.log:

   /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.4/lib/fcgi_handler.rb:142:in `process_each_request!'
   /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in `each_cgi'
   /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each'
   /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in `each_cgi'
   /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.4/lib/fcgi_handler.rb:141:in `process_each_request!'
   /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.4/lib/fcgi_handler.rb:55:in `process!'
   /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.4/lib/fcgi_handler.rb:25:in `process!'
   dispatch.fcgi:24

Im new to ruby but did a lot of ASP before, so i'm not sure where to start looking

thanks!!
/joel

2007-10-31 05:42 AM

ps. the support suggested me to freeze the ruby-version. I did with rake rails:freeze:edge TAG=rel_1-8-6
unfortunately it didnt change anything

2007-10-31 05:43 AM

apparently this was found in the production.log, i must have checked the wrong log:

LoadError (Expected /home/publika/pubmani/app/models/attachement.rb to define Attachement):
   /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.3/lib/active_support/dependencies.rb:249:in `load_missing_constant'
   /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.3/lib/active_support/dependencies.rb:452:in `const_missing'
   /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.3/lib/active_support/dependencies.rb:464:in `const_missing'
   /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.3/lib/active_support/dependencies.rb:260:in `load_missing_constant'
   /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.3/lib/active_support/dependencies.rb:468:in `const_missing'
   /home/publika/pubmani/app/controllers/project_controller.rb:13:in `show'

2007-10-31 05:53 AM

hi there - the "Expected X to define Y" error is unfortunately very common - please see this thread and let us know if you need further help.

2007-10-31 06:10 AM

this line fixed my issue with attachement_fu. Somewhere I saw someone with a similar problem:

:processor => :Rmagick

2007-11-04 05:16 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.