Ah hah, Ruby does support the - parameter, although it's not document in the -h output. Therefore, this works and satisfies my two requirements:
*$ cat example_spec.rb | ruby -rrspec/autorun - --format json* I.e., I can run RSpec on standard input, while setting options. -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/b57d8d09-cb80-486c-a624-162e0568b9ef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
