I've problems connecting to an MS SQL 2005 Server using ODBC with FreeTDS from Mac OS X 10.6.5 (Snow Leopard)
Specs:
freetds 0.82
Ruby 1.8.7
dbi 0.4.5
dbd-odbc 0.2.5
ruby-odbc 0.99992
To test the freetds and odbc configuration I used tsql and iodbctest to connect to a mssql database. With both tools
I can successfully connect to the mssql database.
When trying to connect with my Ruby Application I get the following error:
Processing SessionsController#new (for 127.0.0.1 at 2010-12-07 15:38:22) [GET]
Session ID: 80f506fb041ec09fa239c79e5d37d684
Rendering template within layouts/session
Rendering sessions/new
Rendered shared/_messages (0.2ms)
Completed in 171ms (View: 44, DB: 0) | 200 OK [http://localhost/session/new]
/home/tisp/.gem/ruby/1.8/gems/dbd-odbc-0.2.5/lib/dbd/odbc/statement.rb:41: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
|