You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
I encountered this error on Heroku as well, running pretty much the same stack. Turns out that for generators you need to explicitly require rails/generators. This goes way back to Rails 3.x apparently. Not sure why this behaviour doesn't seem consistent, but adding that require to the top of the generator files does indeed fix this issue on Heroku.
Abit late to this. Anyway, i was bitten by this as well when deploying to heroku only. IMO, it doesn't make sense to require "rails/generators", since we don't need generators, especially in production. This is what i did eventually ngty@97fb32f
fkotsian
added a commit
to CottageClass/cottageclass-app-api
that referenced
this issue
Oct 10, 2018
Using github master branch with Rails 5, Puma 3.8.2 in Heroku, Ruby 2.4.0, heroku-16 stack, I receive error.
Using latest version on Rubygems everything is OK.
The error is something related to "Rails::Generators::Base".
The text was updated successfully, but these errors were encountered: