Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
how to solve xmlsimple.rb warning: already initialized const
Johnroy World
2/13/2009 3:00:00 AM
hi all,
I am new to ruby on rails with ubuntu server and i got this warning
below in every time i run my script. Any advice would be appreciated.
Thanks!
/usr/lib/ruby/1.8/xmlsimple.rb:275: warning: already initialized
constant KNOWN_OPTIONS
/usr/lib/ruby/1.8/xmlsimple.rb:280: warning: already initialized
constant DEF_KEY_ATTRIBUTES
/usr/lib/ruby/1.8/xmlsimple.rb:281: warning: already initialized
constant DEF_ROOT_NAME
/usr/lib/ruby/1.8/xmlsimple.rb:282: warning: already initialized
constant DEF_CONTENT_KEY
/usr/lib/ruby/1.8/xmlsimple.rb:283: warning: already initialized
constant DEF_XML_DECLARATION
/usr/lib/ruby/1.8/xmlsimple.rb:284: warning: already initialized
constant DEF_ANONYMOUS_TAG
/usr/lib/ruby/1.8/xmlsimple.rb:285: warning: already initialized
constant DEF_FORCE_ARRAY
/usr/lib/ruby/1.8/xmlsimple.rb:286: warning: already initialized
constant DEF_INDENTATION
/usr/lib/ruby/1.8/xmlsimple.rb:287: warning: already initialized
constant DEF_KEY_TO_SYMBOL
--
Posted via
http://www.ruby-...
.
2 Answers
Johnroy World
2/13/2009 4:36:00 AM
0
up up up... i need help here
--
Posted via
http://www.ruby-...
.
Matthew Williams
2/13/2009 4:52:00 AM
0
On Fri, 2009-02-13 at 11:59 +0900, Johnroy World wrote:
> hi all,
>
> I am new to ruby on rails with ubuntu server and i got this warning
> below in every time i run my script. Any advice would be appreciated.
> Thanks!
>
Seeing your script would help. However, it looks as though you're
loading the same file multiple times (or the aggregate of your includes
are).
Also, have patience. Sometimes it takes a while.
Have you tried google? I searched for already initialized constant and
came up with the following, which seems to be talking about your exact
problem:
http://www.unwin.org/ruby_on_rails/tips/xml_simple_already_initialized_constant_war...
Good Luck,
Matt
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
how to solve xmlsimple.rb warning: already initialized const
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password