prometheus-ev / jekyll-localization

Jekyll plugin that adds localization features to the rendering engine.
http://rdoc.info/gems/jekyll-localization
Other
68 stars 7 forks source link

jekyll 2.1.1 | Error: uninitialized constant Jekyll::Pager #7

Closed mlundela closed 10 years ago

mlundela commented 10 years ago

Is this an issue, or am I missing something?

I have installed the gem, and created the file _plugins/ext.rb require 'jekyll/localization'

Also, it is not clear to me how to define which languages to use.

~$ jekyll build -t Configuration file: /Users/Mads/work/nnl-website/_config.yml /Library/Ruby/Gems/2.0.0/gems/jekyll-rendering-0.0.9/lib/jekyll/rendering.rb:289:in <module:Jekyll>': uninitialized constant Jekyll::Pager (NameError) from /Library/Ruby/Gems/2.0.0/gems/jekyll-rendering-0.0.9/lib/jekyll/rendering.rb:37:in<top (required)>' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:in require' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /Library/Ruby/Gems/2.0.0/gems/jekyll-localization-0.1.7/lib/jekyll/localization.rb:35:in <top (required)>' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:128:inrequire' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:128:in rescue in require' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:39:inrequire' from /Users/Mads/work/nnl-website/_plugins/ext.rb:1:in <top (required)>' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:in require' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/plugin_manager.rb:58:inblock (2 levels) in require_plugin_files' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/plugin_manager.rb:57:in each' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/plugin_manager.rb:57:inblock in require_plugin_files' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/plugin_manager.rb:56:in each' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/plugin_manager.rb:56:inrequire_plugin_files' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/plugin_manager.rb:18:in conscientious_require' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/site.rb:71:insetup' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/site.rb:33:in initialize' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/commands/build.rb:28:innew' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/commands/build.rb:28:in process' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/lib/jekyll/commands/build.rb:17:inblock (2 levels) in init_with_program' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.4/lib/mercenary/command.rb:220:in call' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.4/lib/mercenary/command.rb:220:inblock in execute' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.4/lib/mercenary/command.rb:220:in each' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.4/lib/mercenary/command.rb:220:inexecute' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.4/lib/mercenary/program.rb:35:in go' from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.4/lib/mercenary.rb:22:inprogram' from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.1.1/bin/jekyll:18:in <top (required)>' from /usr/bin/jekyll:23:inload' from /usr/bin/jekyll:23:in `

'

mlundela commented 10 years ago

I will move this to where it belongs, which is under the jekyll-rendering plugin.