Okay, I've spent 4 hours on this today, and still no love.
I reinstalled my whole Ruby environment and, after repeated errors, gave up and am now using the Dreamhost native version.
Here are the specs:
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /home/ftran/manage.fredtranfield.com
Environment development
Database adapter mysql
Database schema version 20100221100219
About your Redmine plugins
Advanced roadmap plugin 0.0.6
Redmine Bugcloud plugin 0.0.2.1
I don't know why this insists that I'm running in Development mode. My environment.rb and dispatch.fcgi both have ENV['RAILS_ENV'] = 'production'. Bizarre.
I've followed this advice http://wiki.dreamhost.com/Ruby_on_Rails#Rails_2.3.5_-_Rack_1.0_already_activated_.28fix.29 and still could not get Rack 1.0.1 working.
_When filling a bug report, please give the following information with the description of your problem:_
* your database version (eg. Postgresql 8.2): MySQL 5.0.32
* your Redmine version Redmine 0.9.4.stable.3739 (MySQL)
When I send a mail from RM, I get a nice log message and the mail comes through beautifully. However when I reply to the message, the process dies at the .promail step. Here is the log:
procmail: [24866] Fri May 21 14:08:33 2010
procmail: Assigning "LOGABSTRACT=all"
procmail: Assigning "PMDIR=/home/fctredmine/procmail"
procmail: Assigning "SHELL=/bin/sh"
procmail: Assigning "MAILDIR=/home/fctredmine/Maildir"
procmail: Assigning "LASTFOLDER=/home/fctredmine/procmail/rdm-mailhandler.rb --url http://myurl.com --key secretkey --verbose --allow-override=tracker --help"
procmail: Notified comsat: "fctredmine@:/home/fctredmine/procmail/rdm-mailhandler.rb --url http://myurl.com --key secretkey --verbose --allow-override=tracker --help"
From email@gmail.com Fri May 21 14:08:33 2010
Subject: Re: [ProjectTopic - Feature Development #204] test
Folder: /home/fctredmine/procmail/rdm-mailhandler.rb --url http://ma 13846
procmail: Executing "/home/fctredmine/procmail/rdm-mailhandler.rb,--url,http://manage.fredtranfield.com,--key,secretkey,--verbose,--allow-override=tracker,--help"
/home/fctredmine/procmail/rdm-mailhandler.rb:102:in `initialize': undefined local variable or method `usage' for #<RedmineMailHandler:0x6b5588f7def8> (NameError)
from /usr/lib/ruby/1.8/getoptlong.rb:613:in `each'
from /usr/lib/ruby/1.8/getoptlong.rb:610:in `loop'
from /usr/lib/ruby/1.8/getoptlong.rb:610:in `each'
from /home/fctredmine/procmail/rdm-mailhandler.rb:95:in `initialize'
from /home/fctredmine/procmail/rdm-mailhandler.rb:164:in `new'
from /home/fctredmine/procmail/rdm-mailhandler.rb:164
Any ideas would be gratefully accepted. I really need this feature for my clients to actually want to use this.