You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the publish.rb script doesn't work on Windows. As far as I can tell, this is just because of the eval()-ed grep call. If we can find an alternative way in native Ruby, that would make it much easier to publish from Windows
The text was updated successfully, but these errors were encountered:
Whoops, thought I had followed up here, but apparently not.
Yes, it works (ish) in Git Bash. It still throws some errors because of a permissions issue when deleting the temp directory that it creates. I want to fix that, but in addition it would be great to actually have it run natively instead of having to use that bash shell (which is a pain -- it's much harder to get to the directory you want in Git Bash than it is in a normal prompt). If that doesn't happen, at a minimum we'll need to document usage of the shell and execution of the publish script so that people can publish their changes for preview (and update the "publishing a project" tutorial in the process).
There is no guarantee that git will be in the PATH otherwise.
There isn't on any other system either; what makes Windows different?
On Linux, it is pretty much guaranteed to be in the PATH (unless you are doing something highly unusual). On OS X, if you are using homebrew - which you probably are if you installed rbenv - which you probably did because jekyll won't work with the system version of ruby, it will be in the PATH.
You could also make a power shell script for Windows that does the same thing if that is easier.
Currently, the
publish.rb
script doesn't work on Windows. As far as I can tell, this is just because of the eval()-edgrep
call. If we can find an alternative way in native Ruby, that would make it much easier to publish from WindowsThe text was updated successfully, but these errors were encountered: