dchelimsky/rspec — Issue #51: rake spec is failing with 'No such file or directory - spec/spec.opts' for /spec/spec/runner/option_parser_spec.rb at three places
Author: neerajkumar
Created: 2012-02-07 13:16:43+00:00
State: open

I just forked and cloned the rspec into my local and when I was running with command rake spec, it is failing at 3 places.

1)
Errno::ENOENT in 'OptionParser implicitly loading spec/spec.opts uses spec/spec.opts if present'
No such file or directory - No such file or directory - spec/spec.opts
/Users/neeraj/.rvm/gems/ruby-1.8.7-p357/gems/fakefs-0.4.0/lib/fakefs/file.rb:418:in `create_missing_file'
/Users/neeraj/.rvm/gems/ruby-1.8.7-p357/gems/fakefs-0.4.0/lib/fakefs/file.rb:273:in `initialize'
./spec/spec/runner/option_parser_spec.rb:531:in `open'
./spec/spec/runner/option_parser_spec.rb:531:

2)
Errno::ENOENT in 'OptionParser implicitly loading spec/spec.opts does not try to load spec/spec.opts if not present'
No such file or directory - spec/spec.opts
/Users/neeraj/.rvm/gems/ruby-1.8.7-p357/gems/fakefs-0.4.0/lib/fakefs/fileutils.rb:33:in `rm'
/Users/neeraj/.rvm/gems/ruby-1.8.7-p357/gems/fakefs-0.4.0/lib/fakefs/fileutils.rb:32:in `each'
/Users/neeraj/.rvm/gems/ruby-1.8.7-p357/gems/fakefs-0.4.0/lib/fakefs/fileutils.rb:32:in `rm'
./spec/spec/runner/option_parser_spec.rb:537:

3)
Errno::ENOENT in 'OptionParser implicitly loading spec/spec.opts uses specified opts if supplied'
No such file or directory - No such file or directory - spec/spec.opts
/Users/neeraj/.rvm/gems/ruby-1.8.7-p357/gems/fakefs-0.4.0/lib/fakefs/file.rb:418:in `create_missing_file'
/Users/neeraj/.rvm/gems/ruby-1.8.7-p357/gems/fakefs-0.4.0/lib/fakefs/file.rb:273:in `initialize'
./spec/spec/runner/option_parser_spec.rb:544:in `open'
./spec/spec/runner/option_parser_spec.rb:544: