[rspec-users] rspec.opts

Scott Taylor mailing_lists at railsnewbie.com
Sat Nov 24 20:33:20 EST 2007


On Nov 24, 2007, at 8:27 PM, Luis Lavena wrote:

> On Nov 24, 2007 9:56 PM, James B. Byrne <byrnejb at harte-lyne.ca> wrote:
>>
>> On Sat, November 24, 2007 18:42, David Chelimsky wrote:
>>
>>> Easier to just do this:
>>>
>>> spec --help
>>
>> C:\var\RSpec\depot>spec --help
>> 'spec' is not recognized as an internal or external command,
>> operable program or batch file.
>>
>> C:\var\RSpec\depot>ruby script/spec --help # works better
>>
>
> That's because you didn't installed rspec as 'gem' beside as plugin:
>
> gem install rspec
>
> that will enable the 'spec' command for you.
>

Although - watch out.  The gem spec is different from the script/spec  
(if you're running on trunk).  The options may also be different.

Scott





More information about the rspec-users mailing list