Skip to content

Look for freetds in /opt/homebrew #531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

caleb
Copy link
Contributor

@caleb caleb commented Apr 21, 2023

Homebrew recently changed the directory it installs into from /usr/local to /opt/homebrew. This change allows users to install tiny_tds on macOS.

@fa11enangel
Copy link

fa11enangel commented Dec 1, 2023

This will fix several open issues:

Until it is merged and released as a new version, you have to define /opt/homebrew as directory to look for freetds:

brew install freetds
gem install tiny_tds -- --with-freetds-include=/opt/homebrew/include --with-freetds-lib=/opt/homebrew/lib

@andyundso
Copy link
Member

I made a new branch with the changes from this one, but also added testing on CircleCI to make sure compiling and requiring works for the folks on Apple Silicon (see #545). I'm going to close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants