无法从 NetBeans IDE 运行 Ruby on Rails 应用程序
我正在尝试从 NetBeans 6.8 运行 (F6) Rails 应用程序,当我这样做时,我在 IDE 左下角状态栏中得到以下输出:
Could not connect to the web server - could not show http://localhost:3000
我不相信 WEbrick 服务器正在启动,但我可以从命令行启动 WEBrick 和我在 NetBeans 中使用的同一应用程序。
我在 Windows 7 上运行 Ruby 1.9.1、Rails 2.3.5、WEBrick 1.3.1 和 NetBeans 6.8。
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:
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.
I am running Ruby 1.9.1, Rails 2.3.5, WEBrick 1.3.1 and NetBeans 6.8 on Windows 7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,找到答案了。这是 NetBeans 中的一个错误,但有一个解决方法: http://netbeans.org/bugzilla /show_bug.cgi?id=158794
Well, found the answer. Was a bug in NetBeans but there is a workaround: http://netbeans.org/bugzilla/show_bug.cgi?id=158794