标签: ruby batch-file
我想创建一个可以运行像console.log(elementTranslated.offsetHeight); 这样的Ruby文件的批处理文件。
console.log(elementTranslated.offsetHeight);
任何人都知道如何创建一个?
我正在使用Ruby 2.0.0和Windows 10。
答案 0 :(得分:0)
你只需要这样做。
cd location test.rb
这也可能有用。
cd ruby_install_location ruby.exe c:/fullpath/test.rb