This project is archived and is in readonly mode.

#3311 ✓invalid
Cezary Baginski

[fix] "warning: already initialized constant Racc_Runtime_Version",etc

Reported by Cezary Baginski | October 2nd, 2009 @ 09:20 AM

Problem:

I get this warning every time since a recent ruby 1.9.2:

racc/parser.rb:33: warning: already initialized constant Racc_Runtime_Version

etc.

Reason:

 actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb

has the same definitions as:

 /usr/local/lib/ruby/1.9.1/racc/parser.rb

and requiring 'yaml' already loads the latter.

Solution?

  • modify files to load ruby/1.9.1 version if present ? (tmail/{header,address}.rb)

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages