This project requires bundler 1.15, I installed bundler 1.15 and bundler -v outputs
Bundler version 1.15.0
The latest bundler is 2.2.0.rc.2, but you are currently running 1.15.0.
To update, run gem install bundler --pre
Then I get this error when I run “bundle exec jekyll serve”
Could not find gem ‘jekyll-redirect-from’ in any of the gem sources listed in your Gemfile.
Run bundle install to install missing gems.
I run "bundle install and I get this
Fetching gem metadata from https://rubygems.org/…
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies…
Bundler could not find compatible versions for gem “bundler”:
In Gemfile:
bundler (~> 1.15)
Current Bundler version:
bundler (2.1.4)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running gem install bundler?
Could not find gem ‘bundler (~> 1.15)’ in any of the relevant sources:
the local ruby installation
Even when I have bundler 1.15. Any solutions? Thanks in advance.
If you upgrade to a newer version of bundler then this is solved. That means that bundler 2.x installed will work with a project that has 1.X or 2.X in the lock file.
I’d also recommend always using the --user-install flag when installing and updating gems for your user. Otherwise you have to use sudo and so end up installing gems for root user and not for your user at ~/.gems or similar
I suppose its something with my ruby install because of the “Could not find gem ‘bundler (~> 1.15)’ in any of the relevant sources:
the local ruby installation” error?
It is weird to list Bundler in a Gemfile.
I’d say take that line out if the Gemfile.
And ideally make sure you have bundler 2.x installed at the user level.
Your Gemfile.lock file will say installed with Bundler x.x but you won’t be affected on the latest bundler.
Check these are all available
gem -v
bundler -v
If the 2nd doesn’t work then run the install command I gave plus also edit your PATH in .zshrc or .bashrc to make sure you can run bundler from your user gems from anywhere
Dependency Error: Yikes! It looks like you don't have jekyll-paginate 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 -- jekyll-paginate' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
jekyll 3.9.0 | Error: jekyll-paginate
Traceback (most recent call last):
36: from /usr/local/opt/ruby/bin/bundle:23:in `<main>'
35: from /usr/local/opt/ruby/bin/bundle:23:in `load'
34: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
33: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/friendly_errors.rb:123:in `with_friendly_errors'
32: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
31: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:24:in `start'
30: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
29: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:30:in `dispatch'
28: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
27: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
26: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
25: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:476:in `exec'
24: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:28:in `run'
23: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:63:in `kernel_load'
22: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:63:in `load'
21: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/bin/jekyll:23:in `<top (required)>'
20: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/bin/jekyll:23:in `load'
19: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/exe/jekyll:15:in `<top (required)>'
18: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
17: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
16: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
15: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
14: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
13: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:75:in `block (2 levels) in init_with_program'
12: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `start'
11: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `each'
10: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `block in start'
9: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:30:in `process'
8: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:30:in `new'
7: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/site.rb:32:in `initialize'
6: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/site.rb:114:in `setup'
5: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/plugin_manager.rb:22:in `conscientious_require'
4: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/plugin_manager.rb:30:in `require_gems'
3: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/external.rb:55:in `require_with_graceful_fail'
2: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/external.rb:55:in `each'
1: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/external.rb:58:in `block in require_with_graceful_fail'
/Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/external.rb:58:in `require': cannot load such file -- jekyll-paginate (LoadError)
36: from /usr/local/opt/ruby/bin/bundle:23:in `<main>'
35: from /usr/local/opt/ruby/bin/bundle:23:in `load'
34: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
33: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/friendly_errors.rb:123:in `with_friendly_errors'
32: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
31: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:24:in `start'
30: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
29: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:30:in `dispatch'
28: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
27: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
26: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
25: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli.rb:476:in `exec'
24: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:28:in `run'
23: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:63:in `kernel_load'
22: from /usr/local/Cellar/ruby/2.7.2/lib/ruby/2.7.0/bundler/cli/exec.rb:63:in `load'
21: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/bin/jekyll:23:in `<top (required)>'
20: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/bin/jekyll:23:in `load'
19: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/exe/jekyll:15:in `<top (required)>'
18: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
17: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
16: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
15: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
14: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
13: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:75:in `block (2 levels) in init_with_program'
12: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `start'
11: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `each'
10: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve.rb:93:in `block in start'
9: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:30:in `process'
8: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/commands/build.rb:30:in `new'
7: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/site.rb:32:in `initialize'
6: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/site.rb:114:in `setup'
5: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/plugin_manager.rb:22:in `conscientious_require'
4: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/plugin_manager.rb:30:in `require_gems'
3: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/external.rb:55:in `require_with_graceful_fail'
2: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/external.rb:55:in `each'
1: from /Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/external.rb:56:in `block in require_with_graceful_fail'
/Users/techmuse/Guide_3DS/vendor/bundle/ruby/2.7.0/gems/jekyll-3.9.0/lib/jekyll/external.rb:68:in `rescue in block in require_with_graceful_fail': jekyll-paginate (Jekyll::Errors::MissingDependencyException)```
I followed the instructions stated in those 2 posts but afterwards, I get this with the _config.yml file when I go to host it since It does work without it, I just need the config for the site to work properly and I still get the error after installing jekyll-paginate.