use `which bash` instead of $SHELL

If `$SHELL` is dash, it causes an error.

```sh
/bin/sh: 1: chruby: not found
```

in Debian lenny (and after), `/bin/sh` link to `dash` as default.