-
Notifications
You must be signed in to change notification settings - Fork 188
tiny_tds's executable "defncopy" conflicts with /usr/local/bin/defncopy #356
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
Comments
So I'm new to ruby, gems etc and found that I can force the install using but now that I've done that I get the following running tsql -C
am thinking I've messed up the install somehow but not sure where.. |
Hmmm... I have not considered that the bin stub wrapper of the same name would conflict like that. No to overwrite would be the right answer. I would uninstall FreeTDS and the gems, then re-install in that order and not overwrite the FreeTDS bins with the gem bin wrappers and go from there. To check your work, use IRB and make a test connection. The |
@metaskills Appreciate the quick response! So doing the uninstall and re-install didn't work. Run into the same problem. did some searching to see if there was any other way of connecting to SQL Server other than tiny_tds (sorry) and found a Microsoft doc on it (link below) that uses tiny_tds and saw that they were installing ruby using rvm. I had used apt-get install rubydev - so tried using RVM to install Ruby, then freetds-dev and freetds-bin followed by tiny_tds and it's worked. So am guessing that the install of ruby was imported somehow? Still, am up and running so happy days! |
Re-opening so I can remember to work on the binstubs. |
I'm getting this same error on a Mac, with rbenv & ruby 2.4...
Any idea when a fix will be available, or a workaround in the meantime? |
Can you do an install of the gem with a no-op bin dir?
|
PR #377 addresses this. Use 2.1.0.pre2 to test it out. |
Hi All
I'm trying to setup tiny_tds on an Ubuntu 16.04 system and have run into an issue when installing the tiny_tds gem
FreeTDS has been installed on the system via the install method from the front page
When checking the version of the install I get
and on install of tiny_tds I get
Obviously I can hit y to acknowledge the prompt but this is a prelude to me building a docker image that I want to build.
So my question is, is this behavior normal? or have I done / missed something on the install ?
Thanks
Lee
The text was updated successfully, but these errors were encountered: