[rspec-users] 'spec' command not working

4 views
Skip to first unread message

Will C.

unread,
Mar 17, 2011, 9:07:12 PM3/17/11
to rspec...@rubyforge.org
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!

--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec...@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Aslak Hellesøy

unread,
Mar 18, 2011, 4:01:26 AM3/18/11
to rspec...@rubyforge.org
What's JSpec?

Aslak

Evgeniy Dolzhenko

unread,
Mar 18, 2011, 5:35:37 AM3/18/11
to rspec-users
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.

unread,
Mar 18, 2011, 12:31:31 PM3/18/11
to rspec...@rubyforge.org
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

Matt Wynne

unread,
Mar 18, 2011, 12:51:46 PM3/18/11
to rspec...@rubyforge.org

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

> 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

It does help if you use the right words for things ;)

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

cheers,
Matt

ma...@mattwynne.net
07974 430184

Will C.

unread,
Mar 18, 2011, 12:30:40 PM3/18/11
to rspec...@rubyforge.org
Aslak Hellesøy wrote in post #988109:
> What's JSpec?
>
> Aslak

Oh sry I mean RSpec

Will C.

unread,
Mar 18, 2011, 3:14:56 PM3/18/11
to rspec...@rubyforge.org
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---

Reply all
Reply to author
Forward
0 new messages