On Mar 25, 2009, at 9:13 AM, Heesob Park wrote: > 2009/3/25 Tom Reilly <w3gat / nwlagardener.org>: >> Can anyone tell me how to correct the following error? >> >> RUBY PROGRAM: >> --------------------- >> >> require 'sqlite3' >> p "open db" >> db = SQLite3::Database.new( "data.db" ) >> p "db close" >> db.close >> >> ------------------- >> ERROR: >> >>> ruby dbtest.rb >> ./sqlite3.dll: 127: The specified procedure could not be found. - >> Init_sqlite3 (LoadError) >> ./sqlite3.dll from >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `require' >> from dbtest.rb:2 >>> Exit code: 1 >> >> ------------------- >> SYSTEM CONFIGURATION >> >> Windows Vista >> sqlite3.dll is in the same directory as the program - windows version >> ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] >> gem sqlite3-ruby-1.2.0-mswin32 >> > Move sqlite3.dll to somewhere in your PATH. > > Refer to http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/9d5c9ee6167dace4 Or switch to Amalgalite so you don't have to worry about issues like this. :) James Edward Gray II