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

Dependency error on jekyll-remote-theme around libcurl #526

Closed
2 tasks done
SeanKilleen opened this issue Feb 4, 2018 · 3 comments
Closed
2 tasks done

Dependency error on jekyll-remote-theme around libcurl #526

SeanKilleen opened this issue Feb 4, 2018 · 3 comments

Comments

@SeanKilleen
Copy link

SeanKilleen commented Feb 4, 2018

Before submitting an issue, please be sure to

This issue affects

  • Building sites locally

What did you do (e.g., steps to reproduce)

I'm assisting someone in getting their site converted from Blogger to GitHub.

  • Clone the repo (in this case, dennisdoomen\dennisdoomen.github.io)
  • Check the gemfile (it only includes gem "github-pages", group: :jekyll_plugins)
  • Run bundle install
  • Run bundle update github-pages
  • See no errors
  • Run bundle exec jekyll serve

What did you expect to happen?

  • The site to be built & shown locally

What happened instead?

I see an 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/!

Additional information

@SeanKilleen SeanKilleen changed the title Dependency error on jekyll-remote-theme Dependency error on jekyll-remote-theme around libcurl Feb 4, 2018
@SeanKilleen
Copy link
Author

I thought this might have been an issue with PowerShell using curl as an alias for Web-Invoke so I:

  • Removed the alias from my Powershell Profile
  • Confirmed that curl no longer worked.
  • Installed curl via chocolatey using choco install curl.
  • Restarted
  • Attempted bundle exec jekyll serve again.

No luck.

@SeanKilleen
Copy link
Author

A workaround for me was described in this post:

  • Downloaded libcurl DLLs
  • Copied them into my ruby install's bin folder

This appears to get me past the hurdle, but it feels a biiiiiit hacky.

@parkr
Copy link
Contributor

parkr commented Dec 4, 2019

I know this is an old issue, but this should now no longer be a problem! jekyll-remote-theme migrated to use Ruby's built-in Net::HTTP library which does not use/require libcurl: benbalter/jekyll-remote-theme#26

@parkr parkr closed this as completed Dec 4, 2019
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

2 participants