Created
April 12, 2011 04:19
-
-
Save toamitkumar/914923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Download and install FreeTDS | |
2) Configure FreeTDS (make an entry inside /usr/local/etc/freetds.conf) | |
[free_tds_server] | |
host = <sql server> | |
port = 1433 | |
tds version = 8.0 | |
encryption = no | |
3) Install ruby gems | |
i) gem install activerecord-sqlserver-adapter | |
ii) gem install tiny_tds | |
4) database.yml | |
development: | |
adapter: sqlserver | |
mode: dblib | |
dataserver: my_sql_server | |
database: my_database_name | |
username: my_username | |
password: xxxxx | |
timeout: 5000 |
This is the one in the project ports file.
http://www.ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-current.tgz
FYI, you should be able to clone the repo and do:
$ rake compile
$ rake native gem
And that will make a gem for your system. You can then move it around and do "gem install 'thatgemfile'"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aaahh ok
going to pull 0.91 from nightly builds and testing it