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

Jekyll does not start on Arch Linux #902

Open
link2xt opened this issue Jun 3, 2024 · 1 comment
Open

Jekyll does not start on Arch Linux #902

link2xt opened this issue Jun 3, 2024 · 1 comment

Comments

@link2xt
Copy link
Contributor

link2xt commented Jun 3, 2024

There is no package for jekyll on Arch and jekyll is part of gemfile anyway, so "install Jekyll on your local machive" before bundle install should not be needed anyway.

After running bundle install I get this error when trying to run jekyll:

$ bundle exec jekyll
bundler: failed to load command: jekyll (/home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/bin/jekyll)
/home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/jekyll-4.3.2/lib/jekyll.rb:29:in `require': cannot load such file -- json (LoadError)
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/jekyll-4.3.2/lib/jekyll.rb:29:in `<top (required)>'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/jekyll-4.3.2/exe/jekyll:8:in `require'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/jekyll-4.3.2/exe/jekyll:8:in `<top (required)>'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/bin/jekyll:25:in `load'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/bin/jekyll:25:in `<top (required)>'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `load'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:23:in `run'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:492:in `exec'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:34:in `dispatch'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:28:in `start'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/exe/bundle:45:in `block in <top (required)>'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /home/user/src/deltachat/deltachat-pages/vendor/bundle/ruby/3.0.0/gems/bundler-2.4.13/exe/bundle:33:in `<top (required)>'
	from /usr/bin/bundle:25:in `load'
	from /usr/bin/bundle:25:in `<main>'

It only works after running bundle add json.

@link2xt
Copy link
Contributor Author

link2xt commented Jun 4, 2024

The question is why we even tell in the readme to install jekyll when bundle install downloads another copy of it.

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

1 participant