Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

/usr/bin/env: ‘ruby ’: No such file or directory

<!--If you are working on a Unix based system like Ubuntu/Mac, then this error is because you have incorrect line endings.
Set your line endings correctly, and have git manage how it handles them:-->
git config --global core.autocrlf input

<!--In your work directory convert all of the files by running:-->
find ./ -type f -exec dos2unix {} ;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #No #file #directory
ADD COMMENT
Topic
Name
2+2 =