Sunday, May 22, 2011

[Rails] Problems Connecting to SQL Server

Hi all

I want to connect my app to MSSQL but when i type

rake db:migrate

an erro occured like this:

←[31mCould not find gem 'odbc (>= 0, runtime)' in any of the gem sources
listed in your Gemfile.←[0m

this is my YML file:

development:
adapter: sqlserver
mode: odbc
dsn: ontrack
host: BABAK-PC
pool: 5
timeout: 5000

and in my gem file

gem 'activerecord-sqlserver-adapter'
gem 'odbc'

Thnk you for your help

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate