1l8sza
Last Updated: February 25, 2016
·
1.959K
· otobrglez
01cda64f5be17aec3429166eb88182cd

Fix UTF8 "problem" on Heroku w/ jRuby

If you use Heroku with 3rd party build pack (https://github.com/jruby/heroku-buildpack-jruby) to get jRuby up - you might have problems with UTF8. I use this little confguration "fix" to run jRuby with UTF8 as default encoding.

heroku config:set JRUBY_OPTS="--1.9 -J-Xmx400m -J-Dfile.encoding=utf8"
Say Thanks
Respond