Using sql compact from ruby

Does anyone have any experience using Sql Compact with Ruby. I tried
the following code
require ‘dbi’


if @dbh
puts “connected”
puts “not connected”

and received the following error message
c:/ruby/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb:57:in connect': Open (DBI::DatabaseError) OLE error code:80004005 in Microsoft OLE DB Provider for ODBC Drivers [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified HRESULT error code:0x80020009 Exception occurred. from c:/ruby/lib/ruby/site_ruby/1.8/dbi.rb: 424:inconnect’
from c:/ruby/lib/ruby/site_ruby/1.8/dbi.rb:215:in `connect’
from sqlCompact.rb:4


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs