I am able connect to SQL Server from OSX, Archlinux. I use this adapter:
http://github.com/rails-sqlserver/2000-2005-adapter/tree/master
I also recommend compiling FreeTDS manually as most of the ones provided
by Linux distros are out of date. Doing so would install to
/usr/local/lib
~/.freetds.conf
[global]
tds version = 8.0
~/.odbc.ini
[dev]
Driver=FreeTDS
Description=Dev Database
Trace=no
Server=10.0.12.141
Database=devmario
~/.odbcinst.ini
[FreeTDS]
Description = FreeTDS
Driver=/usr/local/lib/libtdsodbc.so
$RAILS_ROOT/config/database.yml
development:
adapter: sqlserver
mode: odbc
username: mgutz
password: '*******'
dsn: dev
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---