简体   繁体   English

Rails Server命令在Windows 8上不起作用

[英]rails server command not working on windows 8

I am doing Ruby on Rails Essential Training From Lynda.com and whille typing the command 'rails server' on windows command prompt, the server stops on its own and shows the following line at the end 我正在从Lynda.com进行Ruby on Rails基本培训,并在Windows命令提示符下键入命令“ rails server”,服务器将自行停止并在末尾显示以下行

from bin/rails:4:in `require'
from bin/rails:4:in `<main>'

Following are my commands 以下是我的命令

rails new local_host -d mysql
cd C:\Users\KSHITIJ\Documents\Rails\local_host
rails server

The first two commands works just fine but the third one doesnt Please Help Thanks 前两个命令可以正常工作,但是第三个命令不能正常工作,请帮助谢谢

We can hardly offer suggestion with little information like this. 几乎没有这样的信息,我们很难提供建议。 Please provide full message which will help us inspect the problem. 请提供完整的消息,这将有助于我们检查问题。 Paste the full message like he did in this post . 像他在这篇文章中那样粘贴完整的消息。 Thanks! 谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM