Closed JohnAtFenestra closed 5 years ago
Documenting for the future:
I happened across the fact that the current versions of Ruby for Windows require the use of --platform
when building native extensions. Ergo, the installation instruction on the main page is incorrect. Use the following:
gem install --platform ruby tiny_tds
When using Ruby for Windows > version 2.4.
Oh interesting! Do you have a link to docs on that arg in ruby gems? I've not seen that before.
https://rubyinstaller.org/2017/05/25/rubyinstaller-2.4.1-1-released.html
And for the clear record, using the argument makes tiny_tds work fine:
>irb
irb(main):001:0> require 'tiny_tds'
=> true
Before submitting an issue please check these first!
$ tsql -C
to find out.If none of these help. Please fill out the following:
Environment
Operating System
TinyTDS Version and Information
Description
I am encountering this issue on Windows 7 using straight Ruby.
I added a tiny piece of logging to tiny_tds.rb to report the attempted load version and to report the exception message in the rescue.
Here are the results of IRB. Note that I explicitly require
devkit
before requiringtiny_tds
:I have confirmed that
tiny_tds.so
exists at the specified location:Here is an extraction of my path. To eliminate noise, I reduced the included list to only those items containing
/ruby/i
in the path:I'm out of ideas of what to look at next.