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

Liquid error: uninitialized constant Jekyll::TweetTag::Net #1

Closed
brunosan opened this issue Jul 3, 2012 · 3 comments
Closed

Liquid error: uninitialized constant Jekyll::TweetTag::Net #1

brunosan opened this issue Jul 3, 2012 · 3 comments

Comments

@brunosan
Copy link

@brunosan brunosan commented Jul 3, 2012

Trying to use your code, but it throws an error.

Any idea why this broke?

Thanks!

@scottwb
Copy link
Owner

@scottwb scottwb commented Jul 4, 2012

What versions of Ruby and Octopress are you using? It might be that in the environment I was originally testing in, 'net/http' was already required, but perhaps it is not in your particular environment. You might try adding this line to the top of tweet_tag.rb:

require 'net/http'
@brunosan
Copy link
Author

@brunosan brunosan commented Jul 4, 2012

Thanks!
I´m not using Octopress, but adding

require 'digest/md5'
require 'net/http'

fixed the problem.

@brunosan brunosan closed this Jul 4, 2012
@scottwb
Copy link
Owner

@scottwb scottwb commented Jul 4, 2012

Cool. I guess I never tested this outside of Octopress. I'll take a look at reproducing this and perhaps adding those requires to master.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.