scottmuc / yari

Yet Another Ruby Installer
Other
36 stars 5 forks source link

Command "yari 1.9.2" Not Working while trying to Setting up yari and octopress #21

Closed raisedadead closed 7 years ago

raisedadead commented 11 years ago

Hi I am New to Octopress! I tried to follow the following blog:

http://blog.zerosharp.com/setting-up-octopress-on-windows/

But after I am through with Git Installation I am getting a "Command not found" error.

When I am doing a check on my ruby installation. I have:

$ ruby --version ruby 1.9.2p290 (2011-07-09) [i386-mingw32]

But next when I am doing the following I have

$ yari 1.9.2 sh.exe": yari: command not found

Any advice?

ElectronicWar commented 11 years ago

You need to install Ruby 1.9.3 with yari in order to use Octopress. See this issue: https://github.com/scottmuc/yari/issues/19

dschinkel commented 11 years ago

I tried to type yari 1.9.2 from the GitBash command prompt and it did not recognize Yari. Am I doing something wrong or should I be trying calling this from PowerShell?

ghost commented 11 years ago

Did you put yari in your $PATH ?

Am 15.06.2013 09:13, schrieb Dave Schinkel:

I tried to type yari 1.9.2 from the GitBash command prompt and it did not recognize Yari. Am I doing something wrong or should I be trying calling this from PowerShell?


Reply to this email directly or view it on GitHub: https://github.com/scottmuc/yari/issues/21#issuecomment-19492511

ElectronicWar commented 11 years ago

You need to add the ruby bin folder to your sytem PATH variable as a workaround at the moment. See my Issue #20

dschinkel commented 11 years ago

this is what I don't understand, I can get to the environment variables but don't get exactly what I'm supposed to do for the PATH. Append what or add what?

On Sat, Jun 15, 2013 at 4:30 AM, ElectronicWar notifications@github.comwrote:

You need to add the ruby bin folder to your sytem PATH variable as a workaround at the moment. See my Issue #20https://github.com/scottmuc/yari/issues/20

— Reply to this email directly or view it on GitHubhttps://github.com/scottmuc/yari/issues/21#issuecomment-19493810 .

dschinkel commented 11 years ago

I thought you need to type the command Yari 1.9.3 from the windows command prompt, not git bash?

dschinkel commented 11 years ago

I have installed yari per the instructions here: http://www.jeremymorgan.com/tutorials/how-to-install-octopress-windows/

About the environment variables, I also tried appending ;%USERPROFILE%.yari\bin;C:\Python27 after adding a new user PATH so I now have C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Git\cmd;%USERPROFILE%.yari\bin;C:\Python27

for my PATH variable. Still when I go back to the command prompt, that command is not working. I verified that yes, the yari folder was indeed downloaded to my windows user folder so it is there for sure.

scottmuc commented 11 years ago

Thank you for the reminder that yari still needs some usability tweaks. I haven't looked at it for a while.

adlermedrado commented 10 years ago

After rubyforge shutdown there is no more available download link for 1.9.2, so it's support is dropped, unless we find a new download link to it.

Try to use 1.9.3 with octopress, i'm using this version and it is working fine.