I trye also such ruby-code:
require 'dbi'
options = {}
dbh = DBI.connect('DBI:SQLAnywhere:192.168.1.10', 'dba', 'dba',
options)
Error:
/usr/lib/ruby/gems/1.8/gems/dbd-sqlanywhere-0.1.2/lib/dbd/
SQLAnywhere.rb:59:in `initialize': Could not load SQLAnywhere DLL
(LoadError)
from /usr/lib/ruby/1.8/singleton.rb:94:in `new'
from /usr/lib/ruby/1.8/singleton.rb:94:in `instance'
from /usr/lib/ruby/gems/1.8/gems/dbd-sqlanywhere-0.1.2/lib/dbd/
sqlanywhere/driver.rb:63:in `connect'
from /usr/lib/ruby/gems/1.8/gems/dbi-0.4.5/lib/dbi/handles/
driver.rb:33:in `connect'
from /usr/lib/ruby/gems/1.8/gems/dbi-0.4.5/lib/dbi.rb:148:in
`connect'
from 2.rb:6