我刚刚创建了一个基本的 rails 应用程序。当我给它时它工作正常rails server
。但是当我通过创建一个Ruby on Rails Application from existing resources
并运行项目在netbeans中尝试它时,我收到以下错误
could not connect to the webserver - cannon show http://localhost:3001
Output - WEBrick for myapp on 3001
/usr/local/bin/ruby: No such file or directory -- script/rails (LoadError)
我尝试根据上述错误消息在线搜索,但它没有用,因为我的只有当我从 netbeans 运行时才有问题。