scottmuc / yari

Yet Another Ruby Installer
Other
36 stars 5 forks source link

Add compatibility for "GitHub for Windows" Git-PowerShell #20

Closed ElectronicWar closed 4 years ago

ElectronicWar commented 12 years ago

The official "GitHub for Windows" adds a nice "Git Shell", which opens a PowerShell window at the repository folder with some nice highlighting and git commands available without a manual install or PATH manipulation.

The yari commands is working in there (e.g. yari 1.9.3), but ruby isn't available after this as a command ("Command not found"). It works perfectly in a regular command promt.

Any plans to extend yari to PowerShell?

scottmuc commented 12 years ago

Hmm, I think this might be a bug. Does ruby exist for subsequent PowerShell sessions?

ElectronicWar commented 12 years ago

No, there's no ruby at all. It's downloaded and there's no error message, but the "ruby" command isn't recognized. I think it's a special problem with the special GitHub PowerShell, they may tinker with the PATH values to make the git commands available.

I temporary fixed the problem by adding the yari ruby/bin folder to my user path, but that isn't the exact use case :D

scottmuc commented 12 years ago

Ok, thanks for checking it out. I'll take a look at it sometime in the next few days. Thanks a lot for using yari!

ElectronicWar commented 12 years ago

Thanks for investigating. By the way, it's not working in a regular PowerShell as well. The yari command is working, but no ruby found afterwards.

image

raisedadead commented 11 years ago

I have got the same Issue any updates??

ElectronicWar commented 11 years ago

No. Just add the corresponding ruby /bin folder to your PATH variable as workaround.