forwardable icon indicating copy to clipboard operation
forwardable copied to clipboard

already initialized constant Forwardable::FORWARDABLE_VERSION

Open foonlyboy opened this issue 5 years ago • 4 comments

Hi at forwardable,

You might want to fix this one:

/usr/local/lib/ruby/gems/2.6.0/gems/forwardable-1.3.1/lib/forwardable/version.rb:3: warning: previous definition of VERSION was here
/usr/local/lib/ruby/2.6.0/forwardable.rb:117: warning: already initialized constant Forwardable::FORWARDABLE_VERSION

It actually is the last gem in my bundle that gives me a warning message like that. All the other gems cleaned that up already.

Let's bring this forward!

foonlyboy avatar Jan 21 '20 01:01 foonlyboy

@hsbt any chance we get this fixed? I know it's just a warning, but it's quite annoying to see it 🙂

XhmikosR avatar Apr 17 '20 18:04 XhmikosR

update your gems the most gems have now fixed this

If you still get this warning, that gem might be out of service.

On Fri, Apr 17, 2020 at 8:54 PM XhmikosR [email protected] wrote:

@hsbt https://github.com/hsbt any chance we get this fixed? I know it's just a warning, but it's quite annoying to see it 🙂

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ruby/forwardable/issues/12#issuecomment-615408742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLJCHQTPAZ3TGIN4ZZEQ2DRNCQWRANCNFSM4KJL4MPQ .

foonlyboy avatar Apr 18 '20 22:04 foonlyboy

My gems are the latest ones.

XhmikosR avatar Apr 19 '20 05:04 XhmikosR

There must be some discussion around, how to avoid this warning from the gems. I believe it has been fixed in the forwardable gem? (not sure, didn't even try)

You'll see a lot of these warnings when working with rails in dev mode when you do: reload!

You can silence a lot of warnings with: env RUBYOPT='-W:no-deprecated' rails console

I'm not in charge of this problem. But tell me if you got it fixed.

~eike

On Sun, Apr 19, 2020 at 7:37 AM XhmikosR [email protected] wrote:

My gems are the latest ones.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ruby/forwardable/issues/12#issuecomment-616040440, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLJCHXDOZU7RHZ2PS5OKR3RNKEYFANCNFSM4KJL4MPQ .

foonlyboy avatar Apr 20 '20 20:04 foonlyboy