Code:
require 'rubygems'
require 'sequel'
DB = Sequel.connect('interbase://SYSDBA:[email protected]:3050/
finqueries')
dataset = DB["SELECT pricedate FROM pricedata"]
puts dataset.count
full error log:
/usr/lib/ruby/gems/1.8/gems/sequel-3.3.0/lib/sequel/database.rb:112:in
`adapter_class': Could not load interbase adapter:
(Sequel::AdapterNotFound)
no such file to load -- /usr/lib/ruby/gems/1.8/gems/sequel-3.3.0/lib/
sequel/adapters/interbase
from /usr/lib/ruby/gems/1.8/gems/sequel-3.3.0/lib/sequel/
database.rb:139:in `connect'
from /usr/lib/ruby/gems/1.8/gems/sequel-3.3.0/lib/sequel/
core.rb:73:in `connect'
from /home/jenko/NetBeansProjects/FinQueryAlpha/lib/
test_sequelIB.rb:3
Am I going to have to use ODBC? If so, can someone point me at some
sample code?
Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---