My setup is:
linux + Ruby 1.9 + rails 2.3.8 + mongodb + mongo_mapper
I followed http://railscasts.com/episodes/194-mongodb-and-mongomapper, that everything is OK
check your locale
settings of your OS. You need to set up en_US
.UTF-8` locale environment variable otherwise you may face this problem.
If you operating system is Ubuntu
then you can check your locale
by typing the following command.
sudo locale
and then you can re-configure your locale by typing the following command
sudo locale-gen en_US.UTF-8
It may help you. Thanks.