From: Junayeed Ahnaf Nirjhor Date: 2011-10-22T14:40:31+09:00 Subject: Can't run rake task ------=_NextPart_000_0043_01CC90AF.544B4F80 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, =20 I am following along Josh Cheek=E2=80=99s ruby kickstart. But when = I=E2=80=99m trying to run a rake task this error is happening: =20 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 ** Invoke 1:1 (first_time) ** Execute 1:1 ruby -c = 'C:/Users/Nirjhor/RubymineProjects/ruby-kickstart/session1/challenge/1_ar= ithmetic.rb' Syntax OK rspec -cr = 'C:/Users/Nirjhor/RubymineProjects/ruby-kickstart/session1/challenge/1_ar= ithmetic.rb' -r enumerator = 'C:/Users/Nirjhor/RubymineProjects/ruby-kickstart/session1/spec/1.rb' = --fail-fast rake aborted! Command failed with status (127): [rspec -cr = 'C:/Users/Nirjhor/RubymineProjec...] C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:53:= in `block in create_shell_runner' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:45:= in `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/file_utils.rb:45:= in `sh' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/file_utils_ext.rb= :36:in `sh' C:/Users/Nirjhor/RubymineProjects/ruby-kickstart/Rakefile:67:in = `run_spec' C:/Users/Nirjhor/RubymineProjects/ruby-kickstart/Rakefile:93:in `block = (4 levels) in ' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in = `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in = `block in execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in = `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in = `execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:158:in = `block in invoke_with_call_chain' C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:151:in = `invoke_with_call_chain' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:144:in = `invoke' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:11= 2:in `invoke_task' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90= :in `block (2 levels) in top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90= :in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90= :in `block in top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:12= 9:in `standard_exception_handling' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:84= :in `top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:62= :in `block in run' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:12= 9:in `standard_exception_handling' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:59= :in `run' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/bin/rake:32:in `' C:/Ruby192/bin/rake:19:in `load' C:/Ruby192/bin/rake:19:in `' -e:1:in `load' -e:1:in `
' Tasks: TOP =3D> 1:1 =20 Process finished with exit code 1 =20 What could be the reason and what is the solution? =20 Godspeed =E2=80=93 Junayeed Ahnaf Nirjhor Twitter - @Nirjhor =20 =20 ------=_NextPart_000_0043_01CC90AF.544B4F80--