My shell script (my_shell.sh) won't run the ruby script (ruby_script_1.rb) in it.
my_shell.sh:
#!/bin/sh
# Invoke the ruby script here
./ruby_script_1.rb
It could not find where the ./ruby_script_1.rb is, thus errors:
# sudo my_shell.sh
: No such file or directory.
My ruby script is permission of 777. Any help is appreciated.
dos2unixorsed 's/\r$//'– glenn jackman Jul 06 '14 at 12:42