Rake spec no such file to load -- spec_helper

I get the following error:
[email protected]:~/myproject$ rails myproject
[email protected]:~/myproject$ cd myproject/
[email protected]:~/myproject$ script/generate rspec
[email protected]:~/myproject$ script/generate rspec_scaffold myresource
name:string description:text
[email protected]:~/myproject$ rake db:migrate
kontulai[email protected]:~/myproject$ rake spec --trace
(in /home/fs/kontulai/myproject)
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:load
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
** Execute spec
./spec/helpers/myresources_helper_spec.rb:1:in require': no such file to load -- spec_helper (LoadError) from ./spec/helpers/myresources_helper_spec.rb:1 from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:14:inload’
from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:14:in
load_files' from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:13:ineach’
from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:13:in
load_files' from /usr/lib/ruby/1.8/spec/runner/options.rb:85:inrun_examples’
from /usr/lib/ruby/1.8/spec/runner/command_line.rb:19:in run' from /usr/bin/spec:4 rake aborted! Command ruby -I"/usr/lib/ruby/lib" "/usr/bin/spec" "spec/routing/ myresources_routing_spec.rb" "spec/integration/myresources_spec.rb" "spec/controllers/myresources_controller_spec.rb" "spec/helpers/ myresources_helper_spec.rb" "spec/views/myresources/ new.html.erb_spec.rb" "spec/views/myresources/show.html.erb_spec.rb" "spec/views/myresources/index.html.erb_spec.rb" "spec/views/ myresources/edit.html.erb_spec.rb" "spec/models/myresource_spec.rb" -- options "/home/fs/kontulai/myproject/spec/spec.opts" failed /usr/lib/ruby/1.8/spec/rake/spectask.rb:184:indefine’
/usr/lib/ruby/1.8/rake.rb:1088:in verbose' /usr/lib/ruby/1.8/spec/rake/spectask.rb:153:indefine’
/usr/lib/ruby/1.8/rake.rb:617:in call' /usr/lib/ruby/1.8/rake.rb:617:inexecute’
/usr/lib/ruby/1.8/rake.rb:612:in each' /usr/lib/ruby/1.8/rake.rb:612:inexecute’
/usr/lib/ruby/1.8/rake.rb:578:in invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:insynchronize’
/usr/lib/ruby/1.8/rake.rb:571:in invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:564:ininvoke’
/usr/lib/ruby/1.8/rake.rb:2027:in invoke_task' /usr/lib/ruby/1.8/rake.rb:2005:intop_level’
/usr/lib/ruby/1.8/rake.rb:2005:in each' /usr/lib/ruby/1.8/rake.rb:2005:intop_level’
/usr/lib/ruby/1.8/rake.rb:2044:in standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1999:intop_level’
/usr/lib/ruby/1.8/rake.rb:1977:in run' /usr/lib/ruby/1.8/rake.rb:2044:instandard_exception_handling’
/usr/lib/ruby/1.8/rake.rb:1974:in `run’
/usr/bin/rake:28


[email protected]:~/myproject$ gem list

*** LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
faker (0.3.1)
ffi (0.5.4)
pg (0.8.0)
populator (0.2.5)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rdoc (2.4.3)
rspec (1.3.0)
rspec-rails (1.3.2)
sqlite3 (0.0.6)
sqlite3-ruby (1.2.5)

what am i doing wrong?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs