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

Errors upon jekyll build & jekyll serve (potential installation issue?) #5873

Closed
fjoyce opened this Issue Feb 10, 2017 · 5 comments

Comments

Projects
None yet
5 participants
@fjoyce

fjoyce commented Feb 10, 2017


  • I am on mac OS X 10.9.5

  • I was trying to install.
  • There is a broken Plugin API.
  • I had an error on GitHub Pages, and I have reproduced it locally.
  • I had an error on GitHub Pages, and GitHub Support said it was a Jekyll Bug.
  • I had an error on GitHub Pages and I did not test it locally.
  • I was trying to build.
  • It was another bug.

My Reproduction Steps

  1. Checkout productive branch: git checkout productive

  2. Bring changes from master into productive: git merge --no-ff master

  3. Optimize source code with require: r.js -o ./app/app.build.js (using local installation of r.js)

  4. Copy optimized files from require build folder to application folder:
    copy minified main.js: cp ../build/app/main.js ./app/main.js
    copy minified main.css: cp ../build/assets/css/main.css ./assets/css/main.css

  5. Build site locally: run jekyll build

  6. Test site locally: run jekyll serve,

  7. Wait and in your browser go to localhost:4000 or http://127.0.0.1:4000/

(5-7 fail)

The Output


/Library/Ruby/Gems/2.0.0/gems/bundler-1.14.3/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:1391:in `contains_requirable_file?'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:68:in `block in require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:823:in `block in each'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:822:in `each'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:822:in `each'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:67:in `find'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:67:in `require'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.3/lib/bundler/plugin/api/source.rb:2:in `<top (required)>'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.3/lib/bundler/rubygems_ext.rb:45:in `full_gem_path'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:1391:in `contains_requirable_file?'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:68:in `block in require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:823:in `block in each'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:822:in `each'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:822:in `each'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:67:in `find'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:67:in `require'
	from /Library/Ruby/Gems/2.0.0/gems/bundler-1.14.3/lib/bundler.rb:12:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
	from /Users/joyce/.gem/ruby/2.0.0/gems/jekyll-3.4.0/lib/jekyll/plugin_manager.rb:34:in `require_from_bundler'
	from /Users/joyce/.gem/ruby/2.0.0/gems/jekyll-3.4.0/exe/jekyll:9:in `<top (required)>'
	from /usr/local/bin/jekyll:23:in `load'
	from /usr/local/bin/jekyll:23:in `<main>'

/cc include any Jekyll affinity teams here (see https://teams.jekyllrb.com/ for more info)

@pathawks

This comment has been minimized.

Show comment
Hide comment
@pathawks

pathawks Feb 10, 2017

Member

I'm sorry you are having trouble.

Can you provide any information about the problem you are having?

Member

pathawks commented Feb 10, 2017

I'm sorry you are having trouble.

Can you provide any information about the problem you are having?

@fjoyce

This comment has been minimized.

Show comment
Hide comment
@fjoyce

fjoyce Feb 10, 2017

Updated above. Sorry about that. I had accidentally put the reproduction steps and output into annotations.

fjoyce commented Feb 10, 2017

Updated above. Sorry about that. I had accidentally put the reproduction steps and output into annotations.

@parkr

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr Feb 11, 2017

Member

Run gem install bundler and try again – that may be it! You may also need to run gem update --system.

For further help, check out our great forums at https://talk.jekyllrb.com!

Member

parkr commented Feb 11, 2017

Run gem install bundler and try again – that may be it! You may also need to run gem update --system.

For further help, check out our great forums at https://talk.jekyllrb.com!

@parkr parkr closed this Feb 11, 2017

@parkr parkr added the support label Feb 11, 2017

@fjoyce

This comment has been minimized.

Show comment
Hide comment
@fjoyce

fjoyce Feb 13, 2017

Thanks, @parkr.

When I run gem install bundlerI get the following output:

You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

I think it's an issue with Mac OS X System Ruby.

I'll try following the leads the from answers to this: #2425

fjoyce commented Feb 13, 2017

Thanks, @parkr.

When I run gem install bundlerI get the following output:

You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

I think it's an issue with Mac OS X System Ruby.

I'll try following the leads the from answers to this: #2425

@DirtyF

This comment has been minimized.

Show comment
Hide comment
@DirtyF

DirtyF Feb 13, 2017

Member

@fjoyce if you have homebrew installed, you can try this gist to install jekyll with ruby 2.3.3

Member

DirtyF commented Feb 13, 2017

@fjoyce if you have homebrew installed, you can try this gist to install jekyll with ruby 2.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment