当我在 netbeans6.8(Ruby on Rails) 中运行 Rails 控制台时出现错误?
当我在 netbeans6.8(Ruby on Rails) 中运行 Rails 控制台时出现以下错误?
“irb.bat”不被识别为内部或外部命令, 可运行的程序或批处理文件。
我需要为此做什么?
when I run rails console in netbeans6.8(Ruby on Rails) then getting following error ?
'irb.bat' is not recognized as an internal or external command,
operable program or batch file.
what I need to do for this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您运行的是 Windows(我假设是因为 irb.bat),您可能需要尝试将 Ruby 安装路径添加到 Windows PATH 环境变量中。
If you are running windows (I assume so because of irb.bat) you might want try to add the path to your Ruby installation into the Windows PATH environment variable.