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"
Written by Oto Brglez
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#