I found the solution.
I like Ruby on most days.
But sometimes it surprises me.
Like today.

The solution was changing the order of the require statements :(

The old order worked for months!!!


If someone could comment, that would be appreciated.

Thks
Ernst


---- the working order is ----
require 'tk'
require 'active_record'
require 'rubygems'
require 'date'
ActiveRecord::Base.logger = Logger.new('c:/sqllog.txt')
ActiveRecord::Base.establish_connection(
  :adapter => 'mysql',
  :database => 'monitor_production',
  :username => 'root',
  :password =>'*****',
  :host => 'localhost')
require 'fox16'
include Fox
require 'monitor_schema' #database schema
require 'trademonitor' #mainwindow
require 'scrubyt'
extend Tk
extend TkWinDD
-- 
Posted via http://www.ruby-forum.com/.