Use /usr/bin/env to support non standard ruby locations

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Merge remote-tracking branch 'jaalto/shebang'

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>