Fix path to `rails`

In rails 4.0.0 that is current stable version,
the `rails` script is placed under `bin` not `script`.