Closed RailsCod3rFuture closed 1 year ago
Same error with upgrade to 1.2.0 on github/actions. We are using esbuild. How you solved it?
Rails 7.0.8, ruby 3.2.2
my issue was failing to separate the prod/dev configs. The watcher was turned on & it stopped the asset pipeline from compiling the application.js. Not sure how your esbuild setup is configured...But make sure locally that the asset precompile system runs and all resources are dumped in the public folder.
Thanks, but it was a different issue then. My issue got fixed with 1.2.1
Having an issue on rails 6.0.3 -- Locally, the application.js file is found without issue / all assets load. (I'm using webpacker, btw for jsbundling) I don't know why the gem is failing to load application.js during deployment. I'll show my code below.
ruby 2.7.7 rails 6.0.3 jsbundling-rails 1.1.2
application.html.erb
assets/config/manifest.js
directories listed above with paths below
app/assets/images app/javascript/ app/assets/builds