Skip to content
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

GitHub Pages Dependencies Missing #17

Closed
cravend opened this issue Dec 8, 2017 · 6 comments
Closed

GitHub Pages Dependencies Missing #17

cravend opened this issue Dec 8, 2017 · 6 comments

Comments

@cravend
Copy link

cravend commented Dec 8, 2017

Hi,

I'm trying to use the GitHub Pages gem to preview my Jekyll site locally. Jekyll Remote Theme is listed as a dependency of the gem. Whenever I try to build my site, I get the following error:

Dependency Error: Yikes! It looks like you don't have jekyll-remote-theme or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'Could not open library 'libcurl': The specified module could not be found. . Could not open library 'libcurl.dll': The specified module could not be found. . Could not open library 'libcurl.so.4': The specified module could not be found. . Could not open library 'libcurl.so.4.dll': The specified module could not be found. ' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!

I'm using Git Bash on Windows 10. I've tried manually listing this plugin in my Gemfile. I've also ran gem install jekyll-remote-theme, neither of which helped. I'm not sure if this is an issue with my system or with the gem, so assistance would be appreciated.

@benbalter
Copy link
Owner

Please try these instructions, which may resolve the issue. I believe you need to install cURL.

@cravend
Copy link
Author

cravend commented Dec 15, 2017

I'm not sure what I'm doing wrong, but following the instructions and downloading the above gem just leaves my terminal processing. I've let it sit for >30min without it doing anything.

@mattconsto
Copy link

mattconsto commented Jan 1, 2018

@benbalter while those instructions didn't work for me, the following did.

  1. Install libcurl.dll, add to $PATH, and create a copy without the .dll extension.
  2. Copy %System32%/ws2_32.dll to %System32%/ws2_32 (No .dll extension)

Then it worked fine. I'm running Windows 10 64bit with Cygwin.

It seems that the dependency list in either jekyll-remote-theme, or one of it's dependancies is missing libcurl.dll (With extension), and ws2_32.dll 9With extension). I did a recursive grep, but couldn't find either. I think this might be an issue elsewhere.

21:02:49 user@host /jekyll-remote-theme
$ grep -r "ws2_32" .
21:02:52 user@host /jekyll-remote-theme
$ grep -r "cygws2_32.dll" .
21:03:44 user@host /jekyll-remote-theme
$ grep -r "libcurl.dll" .
21:08:01 user@host /jekyll-remote-theme
$ grep -r "libcurl" .

For reference, here are the error messages I encountered:

$ bundle exec jekyll serve
Configuration file: [...]/_config.yml
  Dependency Error: Yikes! It looks like you don't have jekyll-remote-theme or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'Could not open library 'libcurl': No such file or directory. Could not open library 'cyglibcurl.dll': No such file or directory. Could not open library 'libcurl.so.4': No such file or directory. Could not open library 'cyglibcurl.so.4.dll': No such file or directory' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
jekyll 3.6.2 | Error:  jekyll-remote-theme
$ bundle exec jekyll serve
Configuration file: [...]/_config.yml
  Dependency Error: Yikes! It looks like you don't have jekyll-remote-theme or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'Could not open library 'ws2_32': No such file or directory. Could not open library 'cygws2_32.dll': No such file or directory' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
jekyll 3.6.2 | Error:  jekyll-remote-theme

@cravend
Copy link
Author

cravend commented Jan 1, 2018

@mattconsto's suggestion worked for me!

Dixhom added a commit to Dixhom/dixhom.github.io that referenced this issue Feb 10, 2018
[GitHub Pages Dependencies Missing · Issue #17 · benbalter/jekyll-remote-theme](benbalter/jekyll-remote-theme#17 (comment))
@stale
Copy link

stale bot commented Mar 2, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 2, 2018
@stale stale bot closed this as completed Mar 9, 2018
@winstonlin
Copy link

winstonlin commented Apr 3, 2018

I ran into this problem and none of the above solutions worked for me except this one (needed a DLL that actually worked with FFI): https://stackoverflow.com/a/44817511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants