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

Gemfile causes crash #10

Closed
yitzhakbg opened this Issue Nov 10, 2014 · 6 comments

Comments

3 participants
@yitzhakbg

yitzhakbg commented Nov 10, 2014

After following the instructions (bundle install), any attempt to run Jekyll, with/without arguments, other Ruby versions, etc..., always crashes.
For example:

jekyll help
/tank/Users/ybg/.gem/ruby/2.1.3/gems/mercenary-0.3.4/lib/mercenary.rb:21:in `program': cannot load such file -- mercenary/program (LoadError)
    from /tank/Users/ybg/.gem/ruby/2.1.3/gems/jekyll-2.5.1/bin/jekyll:20:in `<top (required)>'
    from /tank/Users/ybg/.gem/ruby/2.1.3/bin/jekyll:23:in `load'
    from /tank/Users/ybg/.gem/ruby/2.1.3/bin/jekyll:23:in `<main>'

Everything else seems OK:

bundle check
The Gemfile's dependencies are satisfied

Removing the Gemfile (and Gemfile.lock) solves the problem

@mmistakes

This comment has been minimized.

Show comment
Hide comment
@mmistakes

mmistakes Nov 10, 2014

Owner

Have you tried bundle update as well? Looks like a gem conflict to me

I've seen some similar issues around mercenary/program (LoadError) ever since Jekyll updated to 2.5.0. Seems to mostly be a Windows problem that 2.5.1 supposedly fixed. If bundle update doesn't work try a downgrade to Jekyll 2.4.0 and see if that's the problem.

I'm pretty sure it has nothing to do with my theme and is a Jekyll problem.

Owner

mmistakes commented Nov 10, 2014

Have you tried bundle update as well? Looks like a gem conflict to me

I've seen some similar issues around mercenary/program (LoadError) ever since Jekyll updated to 2.5.0. Seems to mostly be a Windows problem that 2.5.1 supposedly fixed. If bundle update doesn't work try a downgrade to Jekyll 2.4.0 and see if that's the problem.

I'm pretty sure it has nothing to do with my theme and is a Jekyll problem.

@mmistakes

This comment has been minimized.

Show comment
Hide comment
@mmistakes

mmistakes Nov 10, 2014

Owner

For additional help see here, here, and here.

Owner

mmistakes commented Nov 10, 2014

For additional help see here, here, and here.

@mmistakes

This comment has been minimized.

Show comment
Hide comment
@mmistakes

mmistakes Nov 10, 2014

Owner

One more bit of fun. Not sure if you're on Windows, Mac OS X, or Linux. I was testing things out on Windows and have all kinds of issues with Jekyll.

The 2.5.1 update that was suppose fix some problems is still giving me trouble. I also found that the Jekyll Sitemap gem for some reason causing a ruckus too. To get things working I uninstalled Jekyll 2.5.1 and Jekyll-Sitemap 0.6.2 and downgraded to:

gem install jekyll -v 2.4.0
gem install jekyll-sitemap -v 0.6.1
Owner

mmistakes commented Nov 10, 2014

One more bit of fun. Not sure if you're on Windows, Mac OS X, or Linux. I was testing things out on Windows and have all kinds of issues with Jekyll.

The 2.5.1 update that was suppose fix some problems is still giving me trouble. I also found that the Jekyll Sitemap gem for some reason causing a ruckus too. To get things working I uninstalled Jekyll 2.5.1 and Jekyll-Sitemap 0.6.2 and downgraded to:

gem install jekyll -v 2.4.0
gem install jekyll-sitemap -v 0.6.1
@mmistakes

This comment has been minimized.

Show comment
Hide comment
@mmistakes

mmistakes Nov 10, 2014

Owner

One other thing that worked for me. Run Jekyll with bundle exec. I was able to use the latest Jekyll and Jekyll Sitemap gems that way no problem.

bundle exec jekyll serve and bundle exec jekyll build

Owner

mmistakes commented Nov 10, 2014

One other thing that worked for me. Run Jekyll with bundle exec. I was able to use the latest Jekyll and Jekyll Sitemap gems that way no problem.

bundle exec jekyll serve and bundle exec jekyll build

@yitzhakbg

This comment has been minimized.

Show comment
Hide comment
@yitzhakbg

yitzhakbg Nov 10, 2014

bundle exec jekyll ... solved the problem.
You're right. With bundle exec it runs jekyll 2.4.0. Without bundle exec it runs jekyll 2.5.1

yitzhakbg commented Nov 10, 2014

bundle exec jekyll ... solved the problem.
You're right. With bundle exec it runs jekyll 2.4.0. Without bundle exec it runs jekyll 2.5.1

@domhaase

This comment has been minimized.

Show comment
Hide comment
@domhaase

domhaase Dec 15, 2014

bundle update did the trick

domhaase commented Dec 15, 2014

bundle update did the trick

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