update to #2006; better file lookup

This uses the same convention as `RAILS_VERSION_FILE` for more consistent lookup.
Specifically, #2006 broke `./script/local server`.