From: Eli Bendersky Date: 2008-01-31T23:00:02+09:00 Subject: Re: Warning when running sqlite3 with Ruby on Windows > and with -v (Verbose mode): > D:\Users\Luis\Desktop>ruby -v test-sqlite3.rb > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > C:/Ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/ > sqlite3_api.so: warning: global variable ` > $swig_runtime_data_type_pointer2' not initialized > > Conclusion: > The warning you're getting is because: > You used -v command line option to run your script or > You tweaked $VERBOSE and set it to true > Luis, Thank you - this actually explains the problem. However, I am not running with -v, but rather with -w. This script: require 'sqlite3' puts $VERBOSE db = SQLite3::Database.new( "test.db" ) When run simply as "ruby test.rb" prints "false". When run as "ruby -w test.rb" prints "true" and the aforementioned warning. So, the next question is - doesn't everyone run ruby with -w ? If the answer is positive, can I get rid of that warning anyway? Thanks in advance, Eli