Rails detection
Improve Rails integration by changing output path when running locally