-
This is a long shot, but I'm going to try anyway: I'm currently upgrading webpacker into shakapacker as this was long due. The full error is
On top of that, and I don't know if that's intended, I don't have the rails task I did cleanup all gems with I am wondering if moving forward with the upgrade to the latest version of Shakapacker might be a good idea, or it's better to stop here and try to solve this problem first. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Weird one. Missing method name does seem to indicate that something is not loaded. Missing When the gem is loaded, it should effectively load this file https://github.com/shakacode/shakapacker/blob/main/lib/shakapacker.rb#L49 and at the end load railtie that pulls in relevant view helpers et al. Wonder if this is not running because Rails is not defined for some reason? Webpacker worked in exact same way so I would see if there were some other gem upgrades along the way and maybe work backwards from that. I would maybe try and fire up Rails console and see if If the |
Beta Was this translation helpful? Give feedback.
-
ok found that I missed some warnings in the output of yarn which forced me to upgrade some packages, this solved the problem, sorry for the bother. |
Beta Was this translation helpful? Give feedback.
ok found that I missed some warnings in the output of yarn which forced me to upgrade some packages, this solved the problem, sorry for the bother.