我刚创建了一个基本的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运行时才有问题。