开发者

rubys> cd command not working in command line

I'm just getting into ruby and am trying to execute a walkthrough from Sam Ruby's Agile web development.

I've created a directory using mkdir work

Next i'm instructed to open a terminal and type rubys> cd work

The error I'm getting reads: No command 'rubys' found, did you mean: Command 'ruby' from package 'ruby' (main) rubys: command not found

Can anyone inform me of what I'm do开发者_高级运维ing wrong? I've also tried changing from ~ to the work directory before entering my command.


In this book, rubys> is a command prompt, much like you have C:\> in the Windows terminal.

Ignore that first bit and everything should start working.


I guess you're doing it wrong.

mkdir work

creates a directory called "work". It has nothing to do with Ruby.

cd work

will then change into that directory. Forget about the rubys>.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜