rubygem-jekyll problem
▶ sudo dnf install rubygem-jekyll
▶ jekyll new xx-site
▶ cd xx-site/
▶ jekyll serve
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/share/gems/gems/jekyll-3.2.1/lib/jekyll/plugin_manager.rb:34:in `require_from_bundler'
from /usr/share/gems/gems/jekyll-3.2.1/exe/jekyll:9:in `<top (required)>'
from /usr/bin/jekyll:22:in `load'
from /usr/bin/jekyll:22:in `<main>'
▶ di rubygem-bundler
▶ jekyll serve
/usr/share/gems/gems/bundler-1.12.5/lib/bundler/resolver.rb:356:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'minima' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/resolver.rb:331:in `each'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/resolver.rb:331:in `verify_gemfile_dependencies_are_found!'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/resolver.rb:200:in `start'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/resolver.rb:184:in `resolve'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/definition.rb:200:in `resolve'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/definition.rb:140:in `specs'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/definition.rb:185:in `specs_for'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/definition.rb:174:in `requested_specs'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/environment.rb:19:in `requested_specs'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler/runtime.rb:14:in `setup'
from /usr/share/gems/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup'
from /usr/share/gems/gems/jekyll-3.2.1/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler'
from /usr/share/gems/gems/jekyll-3.2.1/exe/jekyll:9:in `<top (required)>'
from /usr/bin/jekyll:22:in `load'
from /usr/bin/jekyll:22:in `<main>'
▶ bundle exec jekyll serve
Could not find gem 'minima' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
why? I am new to ruby. I just not want use "gem" or "bundle". Can I just use dnf to install all need package?
https://github.com/jekyll/jekyll/issu... same. but it is on MAC.