Simple fix for detecting rails 4 apps

Rails 4 no longer uses the `script` directory, in favour of the `bin` directory. `bin/rails` is the new path to the rails command.

Looking at this now, I can see that it would also match `bin/console`, which could conceivably be a false positive for a non-rails app. Do you think that's an issue?