We've moved discussions to Discord

Heroku Deployment fails: crash on startup related to Devise

donncha β€’
Deploy process went smoothly, ran DB migrations etc. but the app refuses to start, with the following exception:

```
2022-03-26T22:27:22.672239+00:00 app[web.1]: /app/lib/jumpstart/app/controllers/jumpstart/masquerades_controller.rb:1:in `<main>': uninitialized constant Devise::MasqueradesController (NameError)
2022-03-26T22:27:22.672261+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.9.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
```

I can run the app locally in production mode, and the `devise` gem is installed on Heroku.

Any ideas?
donncha β€’
nvm, turns out I wasn't pushing the branch I thought I was pushing 😊😊
donncha β€’
Deploy process went smoothly, ran DB migrations etc. but the app refuses to start, with the following exception:

```
2022-03-26T22:27:22.672239+00:00 app[web.1]: /app/lib/jumpstart/app/controllers/jumpstart/masquerades_controller.rb:1:in `<main>': uninitialized constant Devise::MasqueradesController (NameError)
2022-03-26T22:27:22.672261+00:00 app[web.1]: from /app/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.9.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
```

I can run the app locally in production mode, and the `devise` gem is installed on Heroku.

Any ideas?
donncha β€’
nvm, turns out I wasn't pushing the branch I thought I was pushing 😊😊
Notifications
You’re not receiving notifications from this thread.
Β© 2022 Jumpstart Pro by GoRails, LLC