#360 open
martinisoft

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

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.

Shared Ticket Bins

People watching this ticket