Ruby on Rails 无法在 Netbeans 上运行
我正在尝试在 Netbeans 7 上运行 RoR。我按照文档中的说明安装了所有内容。我的 PC 上安装了 Ruby 1.9.2
和 Rails 3.0.9
。
我还随 Netbeans 7.0 安装了插件,
但是当我尝试创建新项目时,进度停留在 25% 并且 Netbeans 停止响应。我必须使用任务管理器来关闭 IDE。场景中有什么问题?谢谢。
I am trying to run RoR on Netbeans 7. I installed everything as given in the documentation. I have Ruby 1.9.2
and Rails 3.0.9
installed on my PC.
Also I have the plugins installed with the Netbeans 7.0
But when I try to create a new project, the progress hangs on 25% and Netbeans stops responding. I have to use task Manager to close the IDE. What is wrong in the scenario? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
由于 netbeans 不再支持 Rails,因此对此的帮助将受到限制:
http://netbeans.org/community/news/show/1507.html
不过好消息是,您不需要 netbeans 来创建 Rails 项目。只需打开终端并运行:
Well help on this will be limited because netbeans no longer supports Rails:
http://netbeans.org/community/news/show/1507.html
Good news though, you don't need netbeans to create a rails project. Just open up your terminal and run:
每次我看到这种情况发生时,Netbeans 都会愉快地等待输入。当您在 Netbeans 中创建项目时,它会在下面执行
rails new APP
,如果该进程提出问题,则 Netbeans 将挂起。检查 Netbeans 输出窗口(如果已打开)。您可以通过在命令行上创建 Rails 应用程序来验证这一点。完成此操作后,使用 Netbeans 打开该目录,它应该将该项目识别为 Rails 项目。Each time I have seen this happen Netbeans is happily awaiting input. When you create the project in Netbeans it executes
rails new APP
underneath and if that process asks a question, then Netbeans will hang. Check the Netbeans output window (if it's open). You can verify this by creating the rails app on the command line. Once you do that, open the directory with Netbeans and it should recognize the project as a Rails project.