Skip to content
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

Jekyll 3.0.0.beta1 - jekyll/deprecator (LoadError) #3353

Closed
kaatt opened this issue Jan 25, 2015 · 2 comments
Closed

Jekyll 3.0.0.beta1 - jekyll/deprecator (LoadError) #3353

kaatt opened this issue Jan 25, 2015 · 2 comments

Comments

@kaatt
Copy link

kaatt commented Jan 25, 2015

My Jekyll site uses jekyll-redirect-from gem and a couple others. Simply installing v3.0.0.beta1 and running jekyll b didn't work:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:2007:in `raise_if_conflicts': Unable to activate jekyll-redirect-from-0.6.2, because jekyll-3.0.0.pre.beta1 conflicts with jekyll (~> 2.0) (Gem::LoadError)

Thanks to @envygeeks in #3324, I forked the gems, edited the .gemspec file and commented out the s.add_dependency "jekyll" line.

Now running any jekyll command gives me this:

fatal: Not a git repository (or any of the parent directories): .git
/Library/Ruby/Gems/2.0.0/gems/jekyll-3.0.0.pre.beta1/bin/jekyll:15:in <top (required)>': cannot load such file -- jekyll/deprecator (LoadError) from /usr/bin/jekyll:23:inload'
from /usr/bin/jekyll:23:in `

'

Everything works if I don't put the lines in _config.yml to use extra gems.

@kaatt kaatt mentioned this issue Jan 25, 2015
7 tasks
@parkr
Copy link
Member

parkr commented Jan 26, 2015

If you have a Gemfile, run bundle exec jekyll build. Using bundle exec is highly recommended.

@kaatt
Copy link
Author

kaatt commented Jan 26, 2015

Thanks, I fixed this by adding gem 'jekyll', '3.0.0.pre.beta1' to my Gemfile.

merlos added a commit to merlos/jekyll-auto-image that referenced this issue Jul 25, 2015
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants