I've never heard of windows users having to do that.  I thought rubygems
took care of installing executables in a way that would work on windows
without needing to explicitly call ruby.

That said, I last used Windows in 2008 so I really have no idea.  But I do
find it surprising.

On Wed, Oct 19, 2016 at 11:18 PM, Mr. Kennedy <[email protected]> wrote:

> Ah, I think I've got it... I just need to explicitly call ruby:
>
> ruby bin/rspec --format doc
>
> and the test gets run - YaY!
>
> After poking at my Environment Variable Path to make sure ruby.exe was in
> there (C:\Ruby22\bin) and looking at my Program Defaults - I thought that I
> could tell win7 to associate any file named "rspec" with ruby.exe (per
> https://support.microsoft.com/en-us/help/18539/windows-7-
> change-default-programs - I couldn't actually add file type "extensions"
> or "protocols" - I could only change them, but .rb and .rbw were in there!)
> it occurred to me that I just needed to tell ruby to ingest the command...
> Heh.
>
> --
> 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/5d7ff2f2-3be4-42ae-9a95-cb20bda58301%40googlegroups.com
> <https://groups.google.com/d/msgid/rspec/5d7ff2f2-3be4-42ae-9a95-cb20bda58301%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CADUxQmvr_3fSDtOsFDbPczi9pQ_Woe-PODbSh0FvF%3D15Sj2ECA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to