n1k0/casperjs — pull request #333 by mirlord (2012-12-22 17:47:11+00:00)
Title: Removed extra error from ruby on incorrect exiting

When phantomjs process was interrupted (i.e. ith ^C) it's exitstatus is
nil, so `exit` function prints useless error message about nil to int
conversion.

Now explicitly exit with 1, which is a default ruby exit behaviour and
stays in sync with a python bin script.

This commit removes this:
```
[info] [phantom] ...
^C//opt/casperjs/rubybin/casperjs:62:in `exit': no implicit conversion from nil to integer (TypeError)
from /opt/casperjs/rubybin/casperjs:62:in `

'
```