ruby - What needs to be changed to run a Rails app created on Windows in Linux? -


an intern made rails app on windows computer several months ago.

i transitioned files rhel server , installed ruby, rubygems, rails, , ruby version manager.

i believe run app on windows do

 bin/rails server 

however, when try on server says

 /usr/bin/env: ruby.exe no such file or directory 

so, apparently it's still expecting windows (.exe) version of ruby. need transition windows app linux?

check in bin/rails file on proyect path, there's call ruby.exe there, it's in first line, change this

 #!/usr/bin/env ruby 

probably errors in other files in bin folder, check , change it.

also, migrating app windows linux can leverage lot of issues, need debug pacience. luck!


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -