Project

General

Profile

Actions

Defect #2419

closed

0.8.0: Warning from mime_type.rb: already initialized constant PDF

Added by Marc Liyanage almost 16 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2008-12-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

I run a cron job every minute to fetch the repository changesets. After the update to 0.8.0 I now get an email message every minute because the ruby script prints this warning:

mime_type.rb:66: warning: already initialized constant PDF

The command I run every minute is

/usr/bin/ruby /usr/lib/ruby/redmine/script/runner "Repository.fetch_changesets" -e production

It would be nice if this could be fixed so the warning goes away.

Actions

Also available in: Atom PDF