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

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

Open
krlmlr opened this issue Aug 15, 2013 · 3 comments
Open

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

krlmlr opened this issue Aug 15, 2013 · 3 comments

Comments

@krlmlr
Copy link

krlmlr commented Aug 15, 2013

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
Copy link
Owner

imathis commented Aug 15, 2013

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
Copy link
Author

krlmlr commented Aug 15, 2013

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
Copy link
Collaborator

parkr commented Aug 15, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants