Make 未被识别为内部或外部命令 [英] Make is not recognized as internal or external command

查看:60
本文介绍了Make 未被识别为内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Windows 上安装 rails 应用程序.当我调用此命令时:

I'm trying to install a rails app on Windows. When I invoke this command:

bundle install

我收到此错误:

如何解决?

推荐答案

您需要安装 Ruby 开发工具包,如下所述:https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

You need to install a Ruby Development Kit as described here: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

它将安装一个 mingw 环境,允许 ruby​​gems 为 Windows 平台编译二进制 gem.

It will install a mingw environment allowing rubygems to compile binary gems for the Windows platform.

请注意遵循本节中描述的安装后步骤:https://github.com/oneclick/rubyinstaller/wiki/Development-Kit#4-run-installation-scripts

Be careful to follow the post-installation steps described in this section: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit#4-run-installation-scripts

仅仅将 ruby​​-devkit 文件放在您的硬盘驱动器上还不足以让 ruby​​gems 使用它.

Simply having the ruby-devkit files on your hard-drive is not enough for rubygems to make use of it.

这篇关于Make 未被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆