我正在尝试从NetBeans 6.8运行(F6)Rails应用程序,当我这样做时,在IDE的左下角状态栏中得到以下输出:
Could not connect to the web server - could not show http://localhost:3000
我不相信Webrick服务器甚至在启动,但是我可以从命令行启动Webrick和我在NetBeans中使用的同一个应用程序。
我在Windows7上运行Ruby1.9.1、Rails2.3.5、Webrick1.3.1和NetBeans6.8。
找到答案了。是NetBeans中的一个bug,但有一个解决方法: http://netbeans.org/bugzilla/show_bug.cgi?id=158794