I\'m trying to deploy my Rails 3.0 app. I use rvm and ruby 1.9.2 (p 180 or p 290 - no difference) on the FreeBSD production server. When I run bundle command, I get this ex
For me works, adding this lines to the top of Gemfile
if RUBY_VERSION =~ /1.9/ Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 end
export LANG=ru_RU.UTF-8
export LC_ALL=ru_RU.UTF-8
In Debian/Ubuntu systems, run:
$ dpkg-reconfigure locales
And select your locales.