Use a direct file descriptor with stty.
Use a direct file descriptor with stty.

JRuby doesn't inherit TTY to subprocesses, so when using stty, an
error message "stty: stdin isn't a terminal" is shown and the
terminal settings coudn't be restoredi properly.

The workaround uses now /dev/tty instead using the TTY for STDIN.

This fixes #226.

guard/guard,sdgdsffdsfff/guard,sideci-sample/sideci-sample-guard,ginkel/guard,garettarrowood/guard,100star/guard,yujinakayama/guard,baberthal/guard,pjump/guard