I think this is what you are looking for:
http://www.ch-werner.de/rubyodbc/
On Friday 15 May 2009 02:30:05 pm cult hero wrote:
> So...
>
> I've run Sequel fine now and again for the usual suspects: sqlite,
> MySQL and PostgreSQL. I want to connect to MSSQL and I've gathered
> that to do that from any sort of UNIX, I have to do this via ODBC.
> Fine. From what I could tell, looking around at docs, was that I
> needed:
>
> * dbi
> * dbd-odbc
>
> I installed them and looked at some docs and eventually did this:
>
> Sequel.odbc('<db_name>', :user => '<user>', :password =>
> '<password>', :host => '<host>', :db_type=>'mssql')
>
> And I get: Sequel::AdapterNotFound: Could not load odbc adapter: no
> such file to load -- odbc
>
> I looked at the source itself and sure enough, I see 'require 'odbc'.
>
> What do I need to install the meet that requirement? I've googled this
> up and down and searched this group but... I am confused. Do I have to
> specially compile one of those gems or what? I thought it was a Ruby
> 1.9 issue at first, but the fact that it can't even find 'odbc' leads
> me to believe otherwise.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-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/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---