Ruby on Rails Wednesday, May 30, 2012

It might be that this file is somewhere in autoload path (/lib, etc.) and you're also manually requiring it by hand somewhere.

On Wednesday, May 30, 2012 10:44:16 AM UTC+1, Gurdipe wrote:

Hi All,

The Linux box I was using to do my rails development had the hard disk upgraded and restarted.  Now I am getting the following warnings when I use script/console or script/server

Loading development environment (Rails 2.1.0)
/denorm_brag_report.rb:423: warning: already initialized constant MAIN_CATEGORIES
denorm_brag_report.rb:425: warning: already initialized constant SUB_CATEGORIES
/denorm_brag_report.rb:432: warning: already initialized constant TABLE_STD_DESCRIPTIONS
/denorm_brag_report.rb:447: warning: already initialized constant SUMMARY_NAMES
/denorm_brag_report.rb:455: warning: already initialized constant REPORT_TYPES
/denorm_brag_report.rb:469: warning: already initialized constant BRAG_SUMMARY_COLS

I have checked the code and these constants are only used in one place

I have cleared the cache, checked the gems, and anything else I can think of

Is there anything else I could check

Gurdipe

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/MLLj2ZuSbokJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment