2013-08-04 3 views
3

대화식 루비 테스트를 사용하지 않으려 고합니다."RAKEFILE ABORTED, NO RAKEFILE FOUND"가 나타나는 이유는 무엇입니까?

zip 파일을 문제없이 다운로드하고 에 대한 지침을 따라 터미널 명령 줄에서 다음 오류가 계속 발생합니다. I "Ruby 1.9.3p392 (2013-02-22 수정 39386) [x86_64-darwin10.8.0]"을 (를) 사용하고 있습니다.

아무도 도움이나 제안을 제공 할 수있는 경우 미리 감사드립니다.

INSTRUCTIONS: 

Install RSpec 

    gem install rspec 

Enter the course directory. (That's the same directory that this 
index.html file is in.) 

    cd learn_ruby 

Enter the 00_hello lab. 

    cd 00_hello 

Open a terminal in this directory 

cd 00_hello 

This directory is the starting point for this exercise. It contains a 
spec file and you'll be adding a ruby file to (eventually) make the 
specs pass. 

Run the test 

    rake 

Watch it fail 

You should see an error. Don't get scared! Try to read it and figure out 
what the computer wants to tell you. Somewhere on the first line it 
should say something like 

no such file to load -- test-first-teaching/hello/hello (LoadError) 

이 오류 메시지가, 내가하지 않습니다 아래 하나

rake aborted! 
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, 
Rakefile.rb) 
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval' 
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in 
`<main>' 
(See full trace by running task with --trace) 

내가 rake --trace를 실행하면 I 수신 :

rake --trace 
rake aborted! 
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, 
Rakefile.rb) 
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:632:in 
`raw_load_rakefile' 
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:94:in 
`block in load_rakefile' 
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:165:in 
`standard_exception_handling' 
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:93:in 
`load_rakefile' 
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:77:in 
`block in run' 
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:165:in 
`standard_exception_handling' 
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/lib/rake/application.rb:75:in 
`run' 
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/rake-10.1.0/bin/rake:33:in 
`<top (required)>' 
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/rake:19:in `load' 
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/rake:19:in `<main>' 
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval' 
/usr/local/rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in 
`<main>' 
+0

다운로드 한 zip 파일에 대한 링크를 제공하여 시도해 볼 수 있습니까? 너 스스로 poiners 줄까? – Eugene

답변

8

당신은 당신의 프로젝트 디렉토리로 CD에 있습니다 레이크 루트를 실행하기 전에

관련 문제