On Aug 5, 5:29 pm, dj <[email protected]> wrote:
> 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

Sequel doesn't have an interbase adapter.  It does have a firebird
adapter, but I'm not sure you can use that with an Interbase
database.  You might be able to use ODBC.

If you can get me shell access to an interbase installation, I may be
able to troubleshoot.

Jeremy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to