Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tfanme/5261141 to your computer and use it in GitHub Desktop.
Save tfanme/5261141 to your computer and use it in GitHub Desktop.
Install activerecord-sqlserver-adapter under CentOS
# Use /download as our temporary download directory
# Start download and install freetds
cd /download
# Offical Site: freetds.org
wget ftp://ftp.astron.com/pub/freetds/stable/freetds-stable.tgz
tar zxvf freetds-0.91
cd freetds-0.91
./configure
make
make install
# install tiny_tds
gem install tiny_tds
# install sqlserver adapter
gem install activerecord-sqlserver-adapter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment