Forum: Ruby tk error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
47b1910084592eb77a032bc7d8d1a84e?d=identicon&s=25 Joel VanderWerf (Guest)
on 2006-01-13 02:36
(Received via mailing list)
$ ruby widget
/usr/local/lib/ruby/site_ruby/1.8/tk.rb:3339:in `_symbolkey2str': hash
modified (RuntimeError)
        from /usr/local/lib/ruby/site_ruby/1.8/tk.rb:3339:in
`initialize'
        from /usr/local/lib/ruby/site_ruby/1.8/tk/root.rb:36:in `new'
        from widget:27

the "widget" is from ext/tk/sample/demos-en. This is ruby 1.8.4, linux.

What have I messed up??
E4f967492dbd03c526cc9b397e68021d?d=identicon&s=25 Hidetoshi NAGAI (Guest)
on 2006-01-13 04:43
(Received via mailing list)
From: Joel VanderWerf <vjoel@path.berkeley.edu>
Subject: tk error
Date: Fri, 13 Jan 2006 10:35:55 +0900
Message-ID: <43C703E9.30703@path.berkeley.edu>
> What have I messed up??

Probably, there are libraries based on ruby-1.8.2 in
"/usr/local/lib/ruby/site_ruby".
tkutil.so is not compatible between ruby-1.8.2 and 1.8.4.
If ruby-1.8.4 loads ruby-1.8.2's tkutil.so, such error is
produced.
47b1910084592eb77a032bc7d8d1a84e?d=identicon&s=25 Joel VanderWerf (Guest)
on 2006-01-13 07:02
(Received via mailing list)
Hidetoshi NAGAI wrote:
> tkutil.so is not compatible between ruby-1.8.2 and 1.8.4.
> If ruby-1.8.4 loads ruby-1.8.2's tkutil.so, such error is
> produced.

That was it. Thanks! I cleared all the tk and tcl files from my
site_ruby.
This topic is locked and can not be replied to.