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

Uninitialized constant Module::Plausible #47

Open
CucumisSativus opened this issue Nov 28, 2020 · 3 comments
Open

Uninitialized constant Module::Plausible #47

CucumisSativus opened this issue Nov 28, 2020 · 3 comments

Comments

@CucumisSativus
Copy link

Hello!

I installed jekyll-analytics in the version 0.1.14. I followed the readme in order to set up Plausible analytics, but when I tried to build the page I encountered an error:

/usr/local/bundle/gems/jekyll-analytics-0.1.14/lib/jekyll-analytics.rb:8:in `block in inject': uninitialized constant Module::Plausible (NameError)
	from /usr/local/bundle/gems/jekyll-analytics-0.1.14/lib/jekyll-analytics.rb:7:in `each'
	from /usr/local/bundle/gems/jekyll-analytics-0.1.14/lib/jekyll-analytics.rb:7:in `inject'
	from /usr/local/bundle/gems/jekyll-analytics-0.1.14/lib/jekyll-analytics.rb:21:in `block in <top (required)>'

If I understand it correctly, it looks like the latest released version is from June, but the change which introduced Plausible is from October.

Could you please make an release? :)
What do you think about auto releasing on merge to master? Could I help with it?

@ogjunkyard
Copy link

I'm also running into the same issue as @CucumisSativus.

@DavidS
Copy link
Contributor

DavidS commented Mar 7, 2021

Until a new release with these changes is available, you can directly use the merge commit with the Plausible changes using this in your Gemfile:

  gem "jekyll-analytics", "~> 0.1", git: 'https://github.com/hendrikschneider/jekyll-analytics', ref: '40e09570dea80e3a9ecb0ad796aad1c434ff067c'

(See 40e0957 for verification)

@FoxxMD
Copy link

FoxxMD commented Jul 2, 2024

@hendrikschneider any chance of cutting a release for this? Having to use git within bundler increases complexity for my builds.

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

4 participants