I am trying to run bundle exec jekyll serve
but it comes up with the 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/!
jekyll 3.6.2 | Error: jekyll-remote-theme
So I checked if curl was installed:
$ curl --version
curl 7.50.1 (x86_64-w64-mingw32) libcurl/7.50.1 OpenSSL/1.0.2h zlib/1.2.8 libidn/1.33 libssh2/1.7.0 nghttp2/1.13.0 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp
Features: IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz TLS-SRP HTTP2 Metalink
I've searched for similar questions but the solutions don't seem to be relevant to my issue. I'm new to Jekyll and Ruby and I just wanted to be able to view my Github Pages offline.
I am using Windows 7 64-bit. Any suggestions would be appreciated!
My work around was to omit the Jekyll plugins from the Gemfile.
Original Gemfile:
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
New:
source 'https://rubygems.org'
gem 'github-pages'
However, if you need to use the plugins, check out TT--'s answer below. I couldn't get it working myself, but it is the exact same problem so if it worked for him I guess it should work.