Ask Your Question
0

rubygem-jekyll problem

asked 2017-05-10 03:09:22 -0500

eexpss gravatar image

updated 2017-05-10 03:39:02 -0500

▶ 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?

edit retag flag offensive close merge delete

Comments

eexpss gravatar imageeexpss ( 2017-05-10 03:16:50 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2017-05-10 03:50:18 -0500

eexpss gravatar image
▶ bundle install
▶ bundle exec jeklyll server

it works. not still need use bundle.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-05-10 03:09:22 -0500

Seen: 144 times

Last updated: May 10 '17