Rails 4 looks for rails executable in bin instead of script