Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用OCRA打包我的ruby脚本?_Ocra - Fatal编程技术网

如何使用OCRA打包我的ruby脚本?

如何使用OCRA打包我的ruby脚本?,ocra,Ocra,我的脚本需要运行其他gem(amatch)。有没有办法仍然使用OCRA对其进行打包?我已经试过很多次了,但都不管用。试着这样做,对我来说这很管用: ocra myscript.rb --output script.exe --gemfile Gemfile --add-all-core --gem-full

我的脚本需要运行其他gem(amatch)。有没有办法仍然使用OCRA对其进行打包?我已经试过很多次了,但都不管用。

试着这样做,对我来说这很管用:

ocra myscript.rb --output script.exe --gemfile Gemfile --add-all-core  --gem-full