Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

NameError (uninitialized constant AutoHtml::YouTubeThumbnail) when installing gem via rubygems #4

Open
jirihradil opened this issue Apr 16, 2021 · 1 comment

Comments

@jirihradil
Copy link

It looks like that version 0.1.1 available at rubygems is not identical with the version 0.1.1 posted in this repo.

Rubygem's copy does not contain the file auto_html/youtube_thumbnail) so calling AutoHtml::YouTubeThumbnail constant is not initialized. Very tricky :)

@jirihradil
Copy link
Author

To reproduce:

Gemfile:

gem 'auto_html-contrib'

bundle install

rails c

AutoHtml::YouTubeThumb.new
Traceback (most recent call last):
        1: from (irb):17
NameError (uninitialized constant AutoHtml::YouTubeThumb)

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

No branches or pull requests

1 participant