i'm trying to connect to a SQL Server from my ruby script, to fetch some data to a new database (using MySQL) but i get these errors: paulo@shuffle:/tmp/sql$ ruby test.rb WARNING: no ODBC driver manager found. /usr/lib/ruby/1.8/DBD/ODBC/ODBC.rb:95:in `connect': INTERN (0) [RubyODBC]Cannot allocate SQLHENV (DBI::DatabaseError) any ideas?
on 2007-03-31 16:37
on 2007-04-01 00:13
well, i've followed this guide http://wiki.rubyonrails.com/rails/pages/HowtoConne... and got something workign, now i have another error message: paulo@shuffle:/tmp/sql$ ruby test.rb /usr/lib/ruby/1.8/DBD/ODBC/ODBC.rb:95:in `connect': IM003 (0) [iODBC] [Driver Manager]Specified driver could not be loaded (DBI::DatabaseError)
on 2007-05-16 22:50
I got the same error on my Debian Etch and I fix it installing the package 'libiodbc2' with apt-get. I hope this will be usefull. Juan Matias Repetti.(ARG)
on 2007-05-17 16:32
thanks Juan Matias, i'll try later On 16 maio, 17:50, Juan Matias <rails-mailing-l...@andreas-s.net>