uninitialized constant ODBC::SQL_DBMS_NAME

Anthony
Mon, 14 Jul 2008 17:20:46 -0000

Hello,

I am connecting my rails app to an sql server. Or at least trying to.
My local development set up works great. Its using iODBC and FreeTDS.
My shared hosting provider installed unixODBC and FreeTDS. Working
with them, I have the shared server connecting to my Database server.
However, when I  run script/console it doesn''t work.

I have my ODBC.ini file and FreeTDS.conf file set up so that using
tsql to check the connection works, as does isql.

However, when I run script/console, I get this error:

ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/
dependencies.rb:263:in `load_missing_constant'':NameError:
uninitialized constant ODBC::SQL_DBMS_NAME

Is there a place to set the name of the DBMS?
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---