From: Josh Cheek Date: 2011-10-22T23:38:36+09:00 Subject: Re: Can't run rake task --0022159f018eebf33004afe4245b Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Sat, Oct 22, 2011 at 9:35 AM, Josh Cheek wrote: > On Sat, Oct 22, 2011 at 12:40 AM, Junayeed Ahnaf Nirjhor < > zombiegenerator@aol.com> wrote: > > > Hello, > > > > > > > > I am following along Josh Cheek=92s ruby kickstart. But when I=92m tryi= ng to > > run a rake task this error is happening: > > > > > > > > C:\Ruby192\bin\ruby.exe -e > > $stdout.sync=3Dtrue;$stderr.sync=3Dtrue;load($0=3DARGV.shift) > C:\Ruby192\bin\rake > > 1:1 rake 1:1 --trace > > > > > I don't really understand what this line means, but at the end there, it > looks like you're typing `$ rake 1:1 rake 1:1 --trace` which would tell > rake > to run a task named "1:1" and then a task named "rake" and then a task > named > "1:1" > > The "1:1" is correct, I have written that task. But the "rake" is not > correct, there is no task named rake. > > The correct way to enter it would be `$ rake 1:1` where the dollar sign > indicates you are at the command prompt, and type "rake 1:1" just one tim= e, > not two. > This is what it looks like when I run the task (after correctly filling out the problem): https://s3.amazonaws.com/josh.cheek/images/scratch/ruby_kickstart_raketask.= png --0022159f018eebf33004afe4245b--