preventing jruby from stealing focus to the console
I have a legacy code (a mix of java/jruby code) that steal my focus every time i run any test. This is quite annoying. This opt fix the issue:
export JRUBY_OPTS=-J-Djava.awt.headless=true
Written by Enrico Rubboli
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Jruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#