imathis / octopress

Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?
http://github.com/imathis/octopress
9.32k stars 2.62k forks source link

Using gist plugin breaks "rake generate" in 2.5 branch #1317

Open krlmlr opened 11 years ago

krlmlr commented 11 years ago

In a comment I read that Gists work better in the 2.1 branch. There is only a 2.5 branch, so I tried this with the following simple post:


---
layout: post
title: "gist-test"
date: 2013-08-15 10:25
comments: true
categories: 

---

This is a simple gist:

{% gist 6165018 xpra-attach-ssh %}

Now, rake generate fails with the following error (on the 2.5 branch):

      Generating...   Liquid Exception: undefined local variable or method `opts' for #<Jekyll::GistTag:0x000000012b0d30> in 2013-08-15-gist-test.markdown
error: undefined local variable or method `opts' for #<Jekyll::GistTag:0x000000012b0d30>. Use --trace to view backtrace

This works on the master branch.

imathis commented 11 years ago

These plugins are a work in progress and will depend on the octopress-pygments gem. Just taking the plugin as it is will not work.

krlmlr commented 11 years ago

Thanks. When trying to install this gem, I get:

~# gem install octopress-pygments
ERROR:  Could not find a valid gem 'octopress-pygments' (>= 0) in any repository

ERROR:  Possible alternatives: octopress-ui, rack-pygments, rb-pygments, yard-pygments

How do I install from source? (Or is this not worth trying currently?)

parkr commented 11 years ago

It has not been released yet, it appears! @imathis, would you please do so?