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/.
What''s JSpec? Aslak On Mar 18, 2011, at 1:35, "Will C." <lists at ruby-forum.com> wrote:> 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-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/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 On 3/18/2011 11:01 AM, Aslak Helles?y wrote:> What''s JSpec? > > Aslak > > On Mar 18, 2011, at 1:35, "Will C."<lists at ruby-forum.com> wrote: > >> 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-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
Aslak Helles??y wrote in post #988109:> What''s JSpec? > > AslakOh sry I mean RSpec -- Posted via http://www.ruby-forum.com/.
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 -- Posted via http://www.ruby-forum.com/.
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 JspecIt 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 matt at mattwynne.net 07974 430184
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--- -- Posted via http://www.ruby-forum.com/.