Kendall G. wrote in post #1000466:
On Sunday, May 22, 2011 11:51:23 AM UTC-6, Ruby-Forum.com User wrote:
listed in your Gemfile.←[0m
The error message is your answer. There is no “odbc” gem (at least, not
hosted on any of the sources which I’m guessing is just the default of
:rubygems for you). You can verify that rubygems.org doesn’t have a gem
named “odbc” by visiting http://www.rubygems.org/ and doing a search for
You’ll get several resulting gems, but none of the gems are named
The “Installation” section of the README.rdoc file from the
that you need “Ruby ODBC”. This would be the “ruby-odbc” gem
(http://rubygems.org/gems/ruby-odbc ; try “ruby-odbc” in your Gemfile).
Thank you Kendll,i think my problem has been solved but i am facing
another problem in connecting to my sql server. another error is:
28000 (18456) [Microsoft][ODBC SQL Server Driver][SQL Server]Login
failed for user XXX/XXX
what should i do?would you please help me?