【问题标题】:make is not recognize as an internal or external commandmake 未被识别为内部或外部命令
【发布时间】:2013-04-09 13:29:46
【问题描述】:

我使用的是 Windows-7。我安装了 Ruby 1.9.3p327Rails 3.2.9

现在,我创建了一个项目,然后在命令提示符"rails install json -v 1.7.7" 中运行命令,但出现以下错误

make
'make' is not recognized as an internal or external command,
operable program or batch file.

什么是制造以及如何解决它。

谢谢

【问题讨论】:

  • 对于 Rails 开发环境,我建议使用运行 linux 的虚拟机。疼痛会减轻很多。
  • 也不要使用 Rails 3.2.9——它存在一些严重的安全问题。更新到 3.2.x 系列的最新版本。
  • 谢谢..但是我没有linux系统..所以请给我windows的解决方案...现在我正在更新Rails版本...还有其他想法吗...?
  • 如果你真的想使用 windows,你可能需要来自 ruby​​installer.org 的 DevKit,我很确定它包括 make。
  • 但是你可以很容易地在你的 windows 机器上运行一个虚拟机。您所需要的只是 VMWare Player 和一个 Ubuntu ISO——两者都是免费的。我可以保证你不会那么痛苦。

标签: windows ruby-on-rails-3 gem bundle


【解决方案1】:

您可以使用 vagrant (http://vagrantup.com),这将允许您使用 linux vm 来运行应用程序,您可以在 windows 中进行所有开发。

【讨论】:

    猜你喜欢
    • 2012-10-20
    • 1970-01-01
    • 2014-04-29
    • 1970-01-01
    • 1970-01-01
    • 2013-10-06
    • 2015-10-18
    • 2013-10-11
    • 2013-01-25
    相关资源
    最近更新 更多