Closed ericksm3 closed 1 year ago
For anyone looking for an answer, i had to use the odbc gem to connect with IBM informix and create a DSN for it.
https://github.com/localytics/odbc_adapter
Closing the issue.
Hi @ericksm3
it looks like the problem is that the path to the esql
program includes spaces and I failed to add quotes around the variable holding that PATH.
Can you please try again, replacing this line:
%x{#{env} #{esql} -e informixc.ec}
with this:
%x{#{env} "#{esql}" -e informixc.ec}
Hi, thanks for the answer.
Yeah it was that, i've tried changing folders but got another error, as described here: https://github.com/santana/ruby-informix/issues/2
Had to switch to ODBC still. Seems that its not working on windows 7.
I think its more to do with ruby version. I was on 1.9 and when I updated the ruby to > 2.2 then I got the error #2
original and follow up issue were addressed; closing this issue.
Hello, Santana!
Im having an error while trying to install the gem on a windows 7 64 bits instance with ruby 2.3.1
It says that the directory or file coud not be found, but both exists.
I went into the folder via command line and did the "esql -e informixc.ec" that the gem installation was trying to do, with the .ec file from here:
https://github.com/santana/ruby-informix/blob/master/ext/informixc.ec
And got not response:
Can you please help me?