pattex / jekyll-tagging

Jekyll plugin to automatically generate a tag cloud and tag pages.
385 stars 76 forks source link

Issue with pluging #2

Closed arguser closed 12 years ago

arguser commented 12 years ago

I got this when trying to run Jekyll with this plugin:

  Configuration from /home/arch/le/site/_config.yml
    /home/arch/le/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- jekyll/tagging (LoadError)
      from /home/arch/le/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
      from /home/arch/le/site/source/_plugins/extensions.rb:1
      from /home/arch/le/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
      from /home/arch/le/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
      from /home/arch/le/.rvm/gems/ruby-1.8.7-p352/gems/jekyll-0.11.2/bin/../lib/jekyll/site.rb:76:in `setup'
      from /home/arch/le/.rvm/gems/ruby-1.8.7-p352/gems/jekyll-0.11.2/bin/../lib/jekyll/site.rb:75:in `each'
      from /home/arch/le/.rvm/gems/ruby-1.8.7-p352/gems/jekyll-0.11.2/bin/../lib/jekyll/site.rb:75:in `setup'
      from /home/arch/le/.rvm/gems/ruby-1.8.7-p352/gems/jekyll-0.11.2/bin/../lib/jekyll/site.rb:30:in `initialize'
      from /home/arch/le/.rvm/gems/ruby-1.8.7-p352/gems/jekyll-0.11.2/bin/jekyll:224:in `new'
      from /home/arch/le/.rvm/gems/ruby-1.8.7-p352/gems/jekyll-0.11.2/bin/jekyll:224
      from /home/arch/le/.rvm/gems/ruby-1.8.7-p352/bin/jekyll:19:in `load'
      from /home/arch/le/.rvm/gems/ruby-1.8.7-p352/bin/jekyll:19
pattex commented 12 years ago

It seems like the gem is not installed properly or is not in the load path or something like that. May it be, that you installed it into another gemset of your rvm?

arguser commented 12 years ago

Any way to put the plugin in a single file on _plugins instead of calling it with require?

pattex commented 12 years ago

Sorry that i'm so late. It should be possible to copy lib/jekyll/tagging.rb to your _plugins directory. But it would be interesting to experience why it wound load the gem.