I am having a strange issue. I have upgraded to ruby 1.9.1 to do some testing on one of my machines. My app accesses a MSSQL database to pull in some information. Everything worked fine with ruby 1.8.6, but now if I try to navigate to a page that accesses that database I get this error: DBI::InterfaceError in PagesController#company Unable to load driver ''ODBC'' (underlying error: uninitialized constant DBI::DBD::ODBC) I''m using activerecord-sqlserver-adapter (1.0.0.9250), dbd-odbc (0.2.4), and dbi (0.4.1) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I would say not all gems are mature for 191! Am I wrong? On Thu, Apr 2, 2009 at 4:37 PM, btomlin <websitefu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I have upgraded to ruby 1.9.1 >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
You are right. The reason I posted this was because it was working using script/console, which would have meant the gems were all working with 1.9.1, but not when navigating to the page on the site. Then I realized that I was still running irb under ruby 1.8.6. Once I updated that to 1.9.1 it quit working. So yes it appears to be the gems are incompatible with 1.9.1. On Apr 2, 7:22 pm, Emanuele Tozzato <etozz...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I would say not all gems are mature for 191! Am I wrong? > > On Thu, Apr 2, 2009 at 4:37 PM, btomlin <websit...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I have upgraded to ruby 1.9.1--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---