#441 new
Pat Maddox

ruby some_spec.rb --line=6 doesn't work

Reported by Pat Maddox | June 20th, 2008 @ 10:16 AM | in No-Milestone-Assigned

Passing a --line option to Ruby doesn't work. The error message says you can only specify one file when using the --line option. The real problem is that when you use ruby instead of bin/spec, the files list ends up empty

Comments and changes to this ticket

  • Pat Maddox

    Pat Maddox June 20th, 2008 @ 10:17 AM

    So before I spend any time on this, is there something I'm missing? I experimented a bit by appending $0 to rspec_options.files when it's blank (in OptionParser#order!), around line 128. That gets me past the error message, but it still runs all the examples in the file.

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

Tags