octopress / solarized

Style code snippets with Ethan Schoonover's Solarized theme (tweaked a bit).
MIT License
10 stars 4 forks source link

Stack level too deep errors when using with codefence #5

Open Temikus opened 9 years ago

Temikus commented 9 years ago

As soon as I include both octopress-solarized and octopress-codefence together in my Gemfile, jekyll breaks with stack errors.

Gemfile:

source 'https://rubygems.org'

gem 'octopress', '>= 3.0'

group :jekyll_plugins do
  gem 'octopress-codeblock'
  gem 'octopress-codefence'
  gem 'octopress-image-tag'
  gem 'octopress-quote-tag'
  gem 'octopress-solarized'
end

Result:

λ jekyll s                                                                                                                                                                                                                (1)
WARN: Unresolved specs during Gem::Specification.reset:
      jekyll-watch (~> 1.1)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:140: warning: already initialized constant Jekyll::PageHooks
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:140: warning: previous definition of PageHooks was here
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:140: warning: already initialized constant Jekyll::PageHooks
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:140: warning: previous definition of PageHooks was here
Configuration file: /Users/temikus/Code/bloga/_config.yml
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:169: stack level too deep (SystemStackError)
λ jekyll hyde                                                                                                                                                                                                             (1)
WARN: Unresolved specs during Gem::Specification.reset:
      jekyll-watch (~> 1.1)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:140: warning: already initialized constant Jekyll::PageHooks
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:140: warning: previous definition of PageHooks was here
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:140: warning: already initialized constant Jekyll::PageHooks
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:140: warning: previous definition of PageHooks was here
Configuration file: /Users/temikus/Code/bloga/_config.yml
/Users/temikus/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/octopress-hooks-2.6.1/lib/octopress-hooks.rb:169: stack level too deep (SystemStackError)
ashak commented 9 years ago

I get the same trying to use with octopress-solarized and octopress-codeblock.