说我有以下bash脚本......
仓/ my-script.sh
#!/usr/bin/env bash
echo "Hello world!"
以下Rakefile ......
namespace :dev do
desc "Execute my- scripts"
task :done do
sh "bin/my-script.sh"
end
end
我在根目录中 rake dev:done
通过 cmd
运行
为什么会收到以下错误?
> rake dev:done
bin/my-script.sh
rake aborted!
Command failed with status (127): [bin/my-script.sh...]