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

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

Comments

Projects
None yet
2 participants
@brunosan

brunosan commented Jul 3, 2012

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

Any idea why this broke?

Thanks!

@scottwb

This comment has been minimized.

Show comment
Hide comment
@scottwb

scottwb Jul 4, 2012

Owner

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'
Owner

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

This comment has been minimized.

Show comment
Hide comment
@brunosan

brunosan Jul 4, 2012

Thanks!
I´m not using Octopress, but adding

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

fixed the problem.

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

This comment has been minimized.

Show comment
Hide comment
@scottwb

scottwb Jul 4, 2012

Owner

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.

Owner

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