Hello everyone, I’m new to RSpec, and pretty much Ruby in general. I am
trying to run RSpec from within TextMate to get the nice-looking GUI
that lists my specs and whatnot. It runs fine from the command line,
but when I run it from TextMate, I get the following error (I am working
with a Rails application):
RubyMate r8136 running Ruby r1.8.6 (/usr/local/bin/ruby)
files_to_load': File or directory not found: [, (RuntimeError) from /Users/waynemolina/work/liberty_truth/vendor/plugins/rspec/lib/spec/runner/options.rb:187:ineach’
files_to_load' from /Users/waynemolina/work/liberty_truth/vendor/plugins/rspec/lib/spec/runner/options.rb:85:inrun_examples’
run' from /Users/waynemolina/work/liberty_truth/vendor/plugins/rspec/lib/spec/runner.rb:192:inregister_at_exit_hook’
RuntimeError: File or directory not found: [,
I don’t know how to fix this… I have tried to search Google but I can’t
find anything that deals with it or how to fix it. I am using RSpec
1.1.3 - this is confirmed via gem list rspec. I’ve also installed the
latest RSpec tmbundle, just to be on the safe side.
It’s not a big deal, since as I said it works from the command line, but
I would rather not switch out of TextMate so I’m really hoping that
someone can give me some pointers on how to fix this error, since my own
searches are turning up empty.
Thanks to anyone who can offer some advice!