Forum: RSpec Broken rake tasks

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Andrew P. (Guest)
on 2008-12-04 11:07
(Received via mailing list)
I've got a couple of rake tasks that seem to have broken with rspec
1.1.11.
http://pastie.org/330719

The trace I'm getting is

/Library/Ruby/Gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:229:in
`files_to_load': File or directory not found: tc:load (RuntimeError)
    from
/Library/Ruby/Gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:221:in
`each'
    from
/Library/Ruby/Gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:221:in
`files_to_load'
    from
/Library/Ruby/Gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:98:in
`run_examples'
    from /Library/Ruby/Gems/1.8/gems/rspec-1.1.11/lib/spec.rb:21:in
`run'
    from
/Library/Ruby/Gems/1.8/gems/rspec-1.1.11/lib/spec/runner.rb:191:in
`register_at_exit_hook'
    from /usr/bin/rake:19

Now I'm not even sure why spec/runner is running these tasks.

Any ideas?

All best

Andrew
Ivor P. (Guest)
on 2008-12-17 15:47
(Received via mailing list)
HI Andrew

I am getting the same problem. I only get it when I install
rspec-rails alongside rspec as gems.

Did you get a resolution to this problem?

Ivor
Andrew P. (Guest)
on 2008-12-19 03:17
(Received via mailing list)
No I don't think so. I'll post something when I next try and get the
tasks
to work

2008/12/17 Ivor P. <removed_email_address@domain.invalid>
Ivor P. (Guest)
on 2008-12-19 15:14
(Received via mailing list)
The latest rspec-rails and rspec worked for me. Are you using the
remarkable
gem?
This topic is locked and can not be replied to.