I'm trying to use ActiveRecord with SQL Server and ADO in a regular ruby
script, but can't get it working.  I've seen a bunch of examples but
can't get them to work.

Here's what I've got:

require 'rubygems'
require 'active_record'



class TestMO < ActiveRecord::Base

    ActiveRecord::Base.establish_connection(
        :adapter  => "sqlserver",
        :mode =>  "ado",
        :database =>  "mydb",
        :username =>  "user",
        :password =>  "pass"
    )

    set_table_name "test_mo"
end

I've got the ADO.rb in the right place I believe.

Here's the error I'm getting:

custom_require.rb:27:in `gem_original_require': no such file to load
-- 
Posted via http://www.ruby-forum.com/.