我从Ubuntu上的Eclipse导入了一个eclipse项目到Windows 10上的Eclipse,我已经安装了Ruby-gems和bundle,但是仍然无法正常工作。这是我的pom.xml
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>step-exec2-api</id>
<phase>process-classes</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bundle</executable>
<workingDirectory>target/slate-api</workingDirectory>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>step-exec3-api</id>
<phase>process-classes</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bundle</executable>
<workingDirectory>target/slate-api</workingDirectory>
<arguments>
<argument>exec</argument>
<argument>middleman</argument>
<argument>build</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
但它给出了该错误:
[错误]无法执行目标 org.codehaus.mojo:exec-maven-plugin:1.3.2:exec(step-exec2-api)在 project MyProject:命令执行失败。无法运行程序 “捆绑”
有人遇到同样的问题吗?谢谢