Piotr Szmielew
2009-May-29 10:27 UTC
tests problem - NoMethodError: private method `gsub'' called for 117681882:Fixnum
Hi, i got very strange problem connected to tests in Rails. I got the same application code version as my team has, and on their computer all tests pass, and on my laptop (debian 5, ruby 1.8.6/1.8.7 (tried both), rails 2.3.2) i got more then 50 errors - majority of them is variations of "NoMethodError: private method `gsub'' called for 117681882:Fixnum" error in controller. Anyone know how to fix it/has this problem before? I reinstalled ruby and rails about three times, clearing gems etc every time but with no effect...
Esse
2009-May-29 15:44 UTC
Re: tests problem - NoMethodError: private method `gsub'' called for 117681882:Fixnum
Hmm, fixed. Problem Was sqlite as test database, setting it to mysql fix the problem. On May 29, 12:27 pm, Piotr Szmielew <p.szmie...-gth6o5BDLJjVItvQsEIGlw@public.gmane.org> wrote:> Hi, > i got very strange problem connected to tests in Rails. I got the same > application code version as my team has, and on their computer all tests > pass, and on my laptop (debian 5, ruby 1.8.6/1.8.7 (tried both), rails > 2.3.2) i got more then 50 errors - majority of them is variations of > "NoMethodError: private method `gsub'' called for 117681882:Fixnum" error > in controller. > > Anyone know how to fix it/has this problem before? > I reinstalled ruby and rails about three times, clearing gems etc every > time but with no effect...