Check execute bit on referent if ruby is a symlink

* Rubinius and possibly other ruby implementations include a symlink to their more specific name.
* Remove unused local variable in chruby()