Comments (5)
WIP Jekyll 4.0 support in #61
from jekyll-remote-theme.
As @benbalter already mentioned, this bug is fixed in #61, but the new version is not yet to release. However, we can resolve this problem locally.
First, find out the location of jekyll-remote-theme
in your computer by running the below command.
$ gem which jekyll-remote-theme
/Users/xxxx/.rvm/gems/ruby-2.6.5/gems/jekyll-remote-theme-0.4.1/lib/jekyll-remote-theme.rb
Then open the below file.
/Users/xxxx/.rvm/gems/ruby-2.6.5/gems/jekyll-remote-theme-0.4.1/lib/jekyll-remote-theme/munger.rb
Locate to the 55th line:
site.theme.configure_sass
Replace it with
site.theme.configure_sass if site.theme.respond_to?(:configure_sass)
Save it and run jekyll build
again, you would see that all things are good.
from jekyll-remote-theme.
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.
from jekyll-remote-theme.
Might this now be fixed now #61 has been merged - it just needs a release?
from jekyll-remote-theme.
Getting same error message:
$ bundle exec jekyll build --profile -t
Configuration file: D:/NOPE/robbinespu.gitlab.io/_config.yml
Source: D:/NOPE/robbinespu.gitlab.io
Destination: D:/NOPE/robbinespu.gitlab.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
Remote Theme: Using theme yukaii/octoflavor
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-remote-theme-0.4.1/lib/jekyll-remote-theme/munger.rb:55:in `configure_theme': undefined method `configure_sass' for #<Jekyll::RemoteTheme::Theme:0x0000000006f21c40> (NoMethodError)
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-remote-theme-0.4.1/lib/jekyll-remote-theme/munger.rb:26:in `munge!'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-remote-theme-0.4.1/lib/jekyll-remote-theme.rb:27:in `init'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-remote-theme-0.4.1/lib/jekyll-remote-theme.rb:33:in `block in <top (required)>'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/hooks.rb:102:in `block in trigger'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/hooks.rb:101:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/hooks.rb:101:in `trigger'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/site.rb:114:in `reset'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/site.rb:73:in `process'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/command.rb:28:in `process_site'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/commands/build.rb:65:in `build'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/commands/build.rb:36:in `process'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/command.rb:89:in `block in process_with_graceful_fail'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/command.rb:89:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/command.rb:89:in `process_with_graceful_fail'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bundler/gems/jekyll-b2639ceb59c6/exe/jekyll:15:in `<top (required)>'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bin/jekyll:23:in `load'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/bin/jekyll:23:in `<main>'
from jekyll-remote-theme.
Related Issues (20)
- Support for custom files is not working
- Please release 0.4.2 with #62 HOT 2
- Cannot use a remote theme on a branch with a "/" in the name HOT 2
- Shortcomings of automatically requiring theme-dependencies HOT 1
- Unable to use plugins from remote theme HOT 7
- All temporary remote theme folders not being removed
- Allow for custom theme structure HOT 3
- Files required for jekyll-remote-theme to work. HOT 1
- Can't download a remote theme behind a corporate proxy HOT 4
- Make error output for themes that are not remote_theme compliant more verbose HOT 2
- Newly created repositories now have default branch `main`: `OWNER/REPOSITORY` gives not found error HOT 3
- Not all theme folders copied HOT 1
- Ship v0.4.3 HOT 2
- Use Latest release HOT 2
- Hem HOT 1
- Provision for persistent remote themes
- Allow local paths to theme HOT 3
- URL to download with branch specified is case-sensitive which is not respected HOT 2
- Tests fail with jekyll-github-metadata 2.15.0 HOT 1
- [feature] Support submodule of remote theme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-remote-theme.