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

Add gem suggestion for more robust build #468

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Add gem suggestion for more robust build #468

merged 1 commit into from
Oct 25, 2024

Conversation

sylhare
Copy link
Owner

@sylhare sylhare commented Oct 24, 2024

Description

Depending on the jekyll and ruby version installed it might show an error if those are not in the gemfile. They should be included in jekyll already.
Since adding them depends on the system I'll have them in comments instead.

Error for kramdown

  Dependency Error: Yikes! It looks like you don't have kramdown-parser-gfm 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: 'cannot load such file -- kramdown-parser-gfm' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/! 

Add gem 'kramdown-parser-gfm'

Error for webrick:

/opt/homebrew/lib/ruby/gems/3.3.0/gems/jekyll-3.9.5/lib/jekyll/commands/serve/servlet.rb:3: warning: webrick was loaded from the standard library, but is not part of the default gems since Ruby 3.0.0. Add webrick to your Gemfile or gemspec. Also contact author of jekyll-3.9.5 to add webrick into its gemspec.
bundler: failed to load command: jekyll (/opt/homebrew/lib/ruby/gems/3.3.0/bin/jekyll)
/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `require': cannot load such file -- webrick (LoadError)

Add gem 'webrick'

@sylhare sylhare force-pushed the gem branch 3 times, most recently from 6e3b455 to 2617231 Compare October 24, 2024 13:10
@sylhare sylhare changed the title Add gem for more robust build Add gem suggestion for more robust build Oct 24, 2024
@sylhare sylhare marked this pull request as ready for review October 24, 2024 13:25
@sylhare sylhare added dependencies Pull requests that update a dependency file custom labels Oct 24, 2024
@sylhare sylhare merged commit caed405 into master Oct 25, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant