No output from script/spec on Rails 2.0.2
Reported by martinisoft | April 2nd, 2008 @ 10:43 AM | in No-Milestone-Assigned
I have been racking my brain all night on this issue after my fresh OSX Leopard install with ruby 1.8.6 and the latest RSpec gem. I fired up a new Rails 2.0.2 project and installed the two rspec plugins and created a small test spec to get autotest functioning on some test specs. It produced no output and exited.
Now the weird thing is when I run rake spec, everything is fine. Runs like it should. But autotest is stuck in utilizing script/spec so it kept giving no output. To give it a try, I went by the instructions on the rspec site and ran the script command with the spec argument (e.g. script/spec spec) and it worked like a charm. Not sure if this is a known bug or something is just plain weird on my setup. I could supply a patch for my on line change in the rails_rspec.rb file under the rspec_on_rails plugin. Just in case, it's on line 96 where the command is given, I just added the spec argument.
Comments and changes to this ticket
-
David Chelimsky April 2nd, 2008 @ 04:22 PM
- → State changed from new to open
RSpec version?
ZenTest version?
-
martinisoft April 2nd, 2008 @ 08:53 PM
Forgot to include those:
RSpec 1.1.3
ZenTest 3.9.2
I've installed the current tag version of both Rails plugins (making it 1.1.3).
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Behaviour Driven Development for Ruby.
