-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.4.3 is broken on Windows #1948
Comments
Looks like this line uses |
v1.4.3 is not necessary unless you're running a host, so I'd suggest downgrading to v1.4.2 for now and we'll fix this for v2.0.0 :) |
Yeah, I already did, but you know, Thanks for looking into this, I hope a fix will be out soon. It's already hard to set things up on Windows, let's not make it harder for the poor Windows users :) |
We just need to make a small change. |
@mattr- Is that enough, or do we have to set it to either |
Dunno. I'll double check. |
As far as I can tell, then the issue is that the destination methods of As the implementations of the method seem alike I wonder why it hasn't been pulled up into |
Thank you the bug of solution . let me mark this bug |
You will have to adjust the following line as well, since that's checking if the last character is the path separator. Could do self.url[-1] == File::SEPARATOR instead... |
I politely disagree - URLs will use '/' as file separator. And in any case Ruby will convert Windows/DOS file separator '' to '/'
|
As mentioned before, then the issue can be fixed (for Windows) by removing the
This is using the "append index.html" if the path doesn't end with a .html extension as seen in https://github.com/jekyll/jekyll/blob/master/lib/jekyll/post.rb#L261 and not as the page version https://github.com/jekyll/jekyll/blob/master/lib/jekyll/page.rb#L137 where the check is to see if the path ends with a / I tested this by adding a |
@perlauge Can you please turn that into a PR? :) |
👍 for the PR :D |
As mentioned earlier #1948 (comment), then the version on master is not the same as the one deployed as a gem. Example:
This makes it really difficult to create a nice change, as I would not be changing the true files. On top of this I'm wondering why this is the case. |
@parkr I think we have a miscommunication here. I believe that whatever code was in the 1.4.3 gem should be somewhere on the master branch, but for The code in the unravelled gem of 1.4.3 does not look like the |
We released from the v1-stable branch. It's an official release- nothing to worry about. Master branch doesn't have v1.4.3 |
Any news on this? |
Note that while v1.4.3 is the latest stable version, it has a nasty Windows bug. (jekyll/jekyll#1948)
worth noting how to install 1.4.2 instead of latest:
|
True. Came accross the same issue today and only found an answer on SO. For completeness, if you've already installed Jekyll 1.4.3, run |
While with v1.4.2 and the same settings/environment worked fine, with 1.4.3 I get the following
My
_config.yml
https://github.com/mpc-hc/mpc-hc.org/blob/jekyll/_config.ymlThe text was updated successfully, but these errors were encountered: