'spec' command not working

When I run JSpec, in the command prompt, using the “spec” command, I get
this error:

‘spec’ command not recognized as a command

I have the latest versions of JSpec and Ruby installed. How can I use
the spec command? Not sure what to put in my PATH environment variables.

Thanks!

What’s JSpec?

Aslak

If your question is related to “JSpec JavaScript Testing Framework”
this is the wrong group to post to, you should post to

http://groups.google.com/group/jspec

instead

Will C. wrote in post #988062:

When I run JSpec, in the command prompt, using the “spec” command, I get
this error:

‘spec’ command not recognized as a command

I have the latest versions of JSpec and Ruby installed. How can I use
the spec command? Not sure what to put in my PATH environment variables.

Thanks!

I mean Rspec, not Jspec

Aslak Hellesøy wrote in post #988109:

What’s JSpec?

Aslak

Oh sry I mean RSpec

Will C. wrote in post #988062:

When I run JSpec, in the command prompt, using the “spec” command, I get
this error:

‘spec’ command not recognized as a command

I have the latest versions of JSpec and Ruby installed. How can I use
the spec command? Not sure what to put in my PATH environment variables.

Thanks!

Solved—

On 18 Mar 2011, at 16:31, Will C. wrote:

I mean Rspec, not Jspec

It does help if you use the right words for things :wink:

Since RSpec 2.0, the binary command is now rspec rather than spec.

cheers,
Matt

[email protected]
07974 430184