Dreamhost Rails application issues

I set up my application and I get the following error: I googled it and
some people mentioned that my database can be emty. Its not though.

undefined method downcase' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/request.rb:18:inmethod’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:933:in
log_processing' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:407:inprocess_without_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in
process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:inprocess’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:inprocess_request’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in
process!' /usr/lib/ruby/1.8/fcgi.rb:594:ineach_cgi’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in
process!' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:inprocess!’
/home/dawie/ishopr.com/public/dispatch.fcgi:3

I don’t think your DB is empty here but rather one attribute on your
table.
I can’t determine anything from the error message but that’s what it
seems
like to me.

RSL

I have the same problem?

did you find a solution???

cheers

i’m a beginner, so not sure, but check your config file againstthe
rails server version. i think dreamhost is on 1.22. seems like u on
1.16
try rails -v from console

fixed: I have seen this ages ago, but the error message was never so
spurious

the problem was dispatch.rb and .fcgi

you need to either create them locally on the dreamhost (linux) box

or run dos2unix on them

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs