Rails:为什么是“sudo"?命令无法识别? [英] Rails: Why "sudo" command is not recognized?

查看:77
本文介绍了Rails:为什么是“sudo"?命令无法识别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序目录中(在 Windows 上),我运行:

In my application directory (on Windows) I run:

sudo pdfkit --install-wkhtmltopdf

此处所述,但我收到此错误:

as explained here, but I got this error:

'sudo' 不被识别为内部或外部命令,可运行的程序或批处理文件.

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

可能是什么问题?

推荐答案

Sudo 是 Unix 特定的命令,旨在允许用户以适当的权限执行管理任务.

Sudo is a Unix specific command designed to allow a user to carry out administrative tasks with the appropriate permissions.

Windows 没有(需要?)这个.

Windows does not have (need?) this.

在开始时删除 sudo 的情况下运行命令.

Run the command with the sudo removed from the start.

这篇关于Rails:为什么是“sudo"?命令无法识别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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