Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6781

Re: Anyone successfully using Ruby to access a Sybase database(either DBI or SQLAnywhere gem)

Newsgroups comp.lang.ruby
Date 2013-04-04 09:33 -0700
References <a5eaa4f5-5931-4652-836c-ef3a050295ff@googlegroups.com>
Message-ID <c99c8cb1-a4aa-4395-b2c5-75fc2609c7bc@googlegroups.com> (permalink)
Subject Re: Anyone successfully using Ruby to access a Sybase database(either DBI or SQLAnywhere gem)
From Kevin Scott <kevin.scott.02@gmail.com>

Show all headers | View raw


This is resolved for the sqlanywhere gem. I have been unable to successfully use dbi.

Basically I was running the 32-bit version of Ruby and did not have dbcapi.dll within the following folder structure - C:Program FilesSQL Anywhere 12Bin32. I had another test machine (32-bit) SQL Anywhere where I copied the dbcapi.dll on the 64-bit test machine. My path was already set.

To summarize - when running ruby 1.9.3p385 (2013-02-06) [i386-mingw32] to use the sqlanywhere gem (sqlanywhere-0.1.6-x86-mingw32) ensure the following:

1. dbcapi.dll exists in the following folder structure - C:\Program Files\SQL Anywhere 12\Bin32\
2. Make sure your path includes C:Program FilesSQL Anywhere 12Bin32

Back to comp.lang.ruby | Previous | NextPrevious in thread | Find similar


Thread

Anyone successfully using Ruby to access a Sybase database(either DBI or SQLAnywhere gem) kevin.scott.02@gmail.com - 2013-04-03 13:18 -0700
  Re: Anyone successfully using Ruby to access a Sybase database(either DBI or SQLAnywhere gem) Kevin Scott <kevin.scott.02@gmail.com> - 2013-04-04 09:32 -0700
  Re: Anyone successfully using Ruby to access a Sybase database(either DBI or SQLAnywhere gem) Kevin Scott <kevin.scott.02@gmail.com> - 2013-04-04 09:33 -0700

csiph-web