Skip to content

vendor/bundle/ruby/3.4.0/gems/tiny_tds-3.3.0/lib/tiny_tds/tiny_tds.so (LoadError) #599

@jyothu

Description

@jyothu

Ruby: 3.4.6
tiny_tds: 3.3.0
OS: Windows
Platform: x64-mingw-ucrt

We bundle all gems into the vendor/bundle directory and ship that in our production build. On the production machine, bundle install runs without issues. However, when we execute any rake command, we see the following error:

rake aborted!
LoadError: 126: The specified module could not be found.   -
C:/Program Files (x86)/XXXXXX/XXXXX/vendor/bundle/ruby/3.4.0/gems/tiny_tds-3.3.0/lib/tiny_tds/tiny_tds.so (LoadError)

The tiny_tds.so file does exist in that directory.
My question is: even though x64-mingw-ucrt is already listed in the Gemfile.lock, why is the platform-specific TinyTDS gem not being installed?

Also, what additional DLLs (currently, I can see only libsybdb-5.dll)or dependencies does TinyTDS require on Windows that could cause this LoadError 126?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions