Tests problem - NoMethodError: private method `gsub' called for 117681882:Fixnum


#1

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…


#2

Hmm, fixed.
Problem Was sqlite as test database, setting it to mysql fix the
problem.