Connecting to MS SQL Server using Ruby on Mac OS/X 10.8
This turned out to be much simpler than I thought it would be.
I began by installing unixODBC, though I'm not sure whether or not that ended up being needed:
brew install unixodbc
Then I installed Free TDS:
brew install freetds
Then I installed the tiny_tds gem:
gem install tiny_tds
And that was it. I was able to connect up straightaway as described in the tiny_tds documentation:
https://github.com/rails-sqlserver/tiny_tds
For further details see the tiny_tds github page.
Written by Stephen Cornelius
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#