ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

rdm-mailhandler incompatible with ruby +1.9 (Bug #1369)


Added by Max Resnick at 2015-01-21 12:37 am. Updated at 2015-01-21 12:53 am.


Status:Ready for review Start date:2015-01-21
Priority:Normal Due date:
Assignee:Max Resnick % Done:

0%

Category:Mail Receiving
Target version:3.9.0
Remote issue URL: Affected version:master

Description

Recently encounter the following error when upgrading chiliproject to run via ruby 1.9.3:

/usr/lib/ruby/1.9.3/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rdoc/usage (LoadError)
    from /usr/lib/ruby/1.9.3/rubygems/core_ext/kernel_require.rb:55:in `require'
    from extra/mail_handler/rdm-mailhandler.rb:69:in `<main>'

Upon further research I discovered that according to the maintainer rdoc/usage wasn't going to ported for ruby 1.9.3.

Seems the best way is to utilize optparse.


1369_port_rdm_mailhandler.patch (4.5 kB) Max Resnick, 2015-01-21 12:53 am


History

Updated by Max Resnick at 2015-01-21 12:53 am

Added a pull request on Master branch via github.

Diff is here for anyone trying to to patch their current installations. Patch is against Master branch, I'm guessing that since this probably hasn't been updated in a really long time, there shouldn't be an issue getting the patch to work across multiple versions of Chiliproject.

Also available in: Atom PDF