Project

General

Profile

Actions

Defect #12241

closed

Error creating tasks in crontab (Redmine 1.3)

Added by Ilya Levy over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hello!
Redmine Version 1.3
Please help.
I'm trying to set up a crontab tasks are received by mail.
run crontab

*/1 * * * * cd $HOME/www/site2/public_html/; rake -s Rakefile redmine:email:receive_pop3 RAILS_ENV="production" > $HOME/tmp/redmine-email.log 2>&1

getting error
/home/my/www/site2/public_html/vendor/rails/activesupport/lib/active_support/inflector.rb:208: [BUG] Segmentation fault
ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-freebsd8.2], MBARI 0x6770, Ruby Enterprise Edition 2010.02

Code that causes the error
207    def underscore(camel_cased_word)
208      camel_cased_word.to_s.gsub(/::/, '/').
209        gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
210        gsub(/([a-z\d])([A-Z])/,'\1_\2').
211        tr("-", "_").
212        downcase
213    end

How can this be corrected?
Thank you!

Actions

Also available in: Atom PDF