Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#3311

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)

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

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Cezary Baginski
  2. Priit Tamboom
    Priit Tamboom

    I got same warnings with ruby 1.9.2dev (2009-10-08 trunk 25259) [i686-linux] and Rails 3.0.pre
    [10.10.2009] and this patch fixed it. However, I wonder should you open the ticket at TMail instead cos TMail is vendored?

    October 10th, 2009 @ 12:55 PM

  3. Cezary Baginski
    Cezary Baginski

    Quick update:

    sudo gem install tmail

    might fix this issue (gem version seems to check for racc/parser). I'll check tomorrow if I don't forget. Until then, if it works for anyone else, this can be considered closed.

    October 11th, 2009 @ 09:55 AM

  4. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to invalid

    I'm closing this ticket, feel free to make a comment and I'll reopen it.

    June 15th, 2010 @ 12:12 PM

  5. Ryan Bigg
    Ryan Bigg
    • Tag cleared.

    Automatic cleanup of spam.

    October 9th, 2010 @ 09:44 PM

  6. bingbing