From: Junayeed Ahnaf Nirjhor Date: 2011-10-23T00:59:18+09:00 Subject: Error with Rake ------=_NextPart_000_00C1_01CC9105.CF9F9D70 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, =20 While I=E2=80=99m testing something and there=E2=80=99s an error in my = program after defining the error the compiler is displaying this: =20 rspec ./session1/spec/2.rb:7 # arithmetic2 should return 5.0 when given = 19 , 10 rake aborted! Command failed with status (1): [rspec -r = 'C:/Users/Nirjhor/RubymineProject...] C:/Users/Nirjhor/RubymineProjects/ruby-kickstart/Rakefile:67:in = `run_spec' C:/Users/Nirjhor/RubymineProjects/ruby-kickstart/Rakefile:93:in `block = (4 levels) in ' -e:1:in `load' -e:1:in `
' Tasks: TOP =3D> 1:2 (See full trace by running task with --trace) =20 Here=E2=80=99s it with trace: =20 rspec ./session1/spec/2.rb:7 # arithmetic2 should return 5.0 when given = 19 , 10 rake aborted! Command failed with status (1): [rspec -r = 'C:/Users/Nirjhor/RubymineProject...] C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/file_utils= .rb:53:in `block in create_shell_runner' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/file_utils= .rb:45:in `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/file_utils= .rb:45:in `sh' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/file_utils= _ext.rb:39: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.3.beta.1/lib/rake/task.rb:20= 5:in `call' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/task.rb:20= 5:in `block in execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/task.rb:20= 0:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/task.rb:20= 0:in `execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/task.rb:15= 8: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.3.beta.1/lib/rake/task.rb:15= 1:in `invoke_with_call_chain' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/task.rb:14= 4:in `invoke' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/applicatio= n.rb:114:in `invoke_task' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/applicatio= n.rb:93:in `block in top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/applicatio= n.rb:93:in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/applicatio= n.rb:93:in `top_level' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/applicatio= n.rb:66:in `block in run' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/applicatio= n.rb:131:in `standard_exception_handling' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/lib/rake/applicatio= n.rb:63:in `run' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.3.beta.1/bin/rake:37: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:2 =20 What could be the solution? =20 Godspeed =E2=80=93 Junayeed Ahnaf Nirjhor Twitter - @Nirjhor =20 =20 ------=_NextPart_000_00C1_01CC9105.CF9F9D70--