开发者

rubys> cd command not working in command line

开发者 https://www.devze.com 2023-03-14 10:16 出处:网络
I\'m just getting into ruby and am trying to execute a walkthrough from Sam Ruby\'s Agile web development.

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

精彩评论

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

关注公众号