bin/rails
script need execute permission, use
chmod +x /app/bin/rails
to add execute permision.
If it works, run chmod +x bin/rails
in your local project directory and commit to permanently fix this issue.
Scripts in bin
directory all have execute permission by default.