palkan / view_component-contrib

A collection of extension and developer tools for ViewComponent
MIT License
369 stars 22 forks source link

uninitialized constant Dry::Effects (NameError) #27

Open wdiechmann opened 2 years ago

wdiechmann commented 2 years ago

What did you do?

Followed the blog post -- almost verbatim I'd say

What did you expect to happen?

Not this for sure 😃

What actually happened?

I gave it all just a little push with rails server and then it all came tumbling down on me 😉

Additional context

Environment

Ruby Version:

Framework Version (Rails, whatever):

View Component Contrib Version:

wdiechmann commented 2 years ago

This all happened last night - I even managed to address it in the blog post (evil martians) by hitting the 'contact' button.

This morning I took a fresh look only to realize that the gems I did not find easily last night were loitering right in front of me so to speak!

bundle add dry-effects dry-initializer

That had me on my merry way

(if the blog post mentioned that - or even the repos (in a rather mundane 'installation' section/paragraph) - I guess quite a few of us mere earthlings will take that dry pill

😄

palkan commented 2 years ago

Thanks for reporting!

@baygeldin Let's add a note about adding dry- gems, maybe?