如何在windows中设置路径 [英] how to set up path in windows

查看:34
本文介绍了如何在windows中设置路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 ruby​​,然后安装了 Rails 的 gem.当我尝试使用

i installed ruby and then gem of rails. when i am trying to start server using

ruby script/server 

我收到一个错误

ruby: No such file or directory -- script/server (LoadError)

推荐答案

必须先通过cd command"导航到demo目录,然后输入

You have to first navigate to the demo directory by "cd command" and then input

ruby script/server 

在 Windows 中它应该是

in windows it should be

ruby script\server

这篇关于如何在windows中设置路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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