简体   繁体   English

无法从NetBeans IDE运行Ruby on Rails应用程序

[英]Cannot Run Ruby on Rails application from NetBeans IDE

I am trying to Run (F6) a Rails application from NetBeans 6.8 and when i do so I get the following output in the lower left hand status bar of the IDE: 我正在尝试从NetBeans 6.8运行(F6)Rails应用程序,当我这样做时,我在IDE的左下方状态栏中获得以下输出:

Could not connect to the web server - could not show http://localhost:3000

I don't believe that the WEbrick server is even starting, but i can start WEBrick and the same application I'm working with in NetBeans from the command line. 我不相信WEbrick服务器甚至无法启动,但是我可以从命令行启动WEBrick和我正在NetBeans中使用的同一应用程序。

I am running Ruby 1.9.1, Rails 2.3.5, WEBrick 1.3.1 and NetBeans 6.8 on Windows 7. 我在Windows 7上运行Ruby 1.9.1,Rails 2.3.5,WEBrick 1.3.1和NetBeans 6.8。

Well, found the answer. 好吧,找到答案了。 Was a bug in NetBeans but there is a workaround: http://netbeans.org/bugzilla/show_bug.cgi?id=158794 是NetBeans中的错误,但是有一种解决方法: http : //netbeans.org/bugzilla/show_bug.cgi?id=158794

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM