An intern made a Rails app on his Windows computer several months ago.
I transitioned his files to a RHEL server and installed Ruby, rubygems, Rails, and Ruby Version Manager.
I believe that to run his app on Windows I could just do
/usr/bin/env: ruby.exe No such file or directory
Check in the bin/rails file on your proyect path, probably there's a call to
ruby.exe there, it's probably in the first line, change it to this
Probably this errors is in other files in the bin folder, check it and change it.
Also, migrating an app from windows to linux can leverage into a lot of issues, so you would need to debug it with pacience. Good luck!