我想在这个目录中运行一个文件:
C:\ruby\App\bin\cucumber我在这个目录中有一个想要传递的文件:
C:\ruby\App\features\creating_projects.feature当我显式地cd到/bin并运行文件时,一切都正常工作:
C:\ruby\App>cd bin
C:\ruby\App\bin>cucumber ..\features\creating_projects.feature但我希望能够在我的应用程序的根目录中运行它。但这不管用。上面写着,"bin\cucumber" is not a program, command of file
C:\ruby\App>bin\cucumber features\creating_projects.feature
# error我怎么才能这样运行这个文件呢?
发布于 2013-06-27 22:30:30
您是否尝试过:
C:\ruby\App>.\bin\cucumber ..\features\creating_projects.feature发布于 2013-06-27 22:32:58
我不确定,但也许你应该添加文件扩展名
C:\ruby\App>bin\cucumber?features\creating_projects.feature
https://stackoverflow.com/questions/17345807
复制相似问题