Mac 下通过 shell 执行 ruby 文件

                #!/bin/bash

ruby ex0_1.rb


上面是SHELL 文件内容。这样写可以通过 shell 来调用运行 ruby 文件。

mac 下如何执行此 shell 呢?


bash run1.sh

           

猜你喜欢

转载自blog.csdn.net/qq_44910432/article/details/89784853