I have a typical rails 6.0.2 app set up on a production server and I'm using git hooks to deploy the app. When I try to run: rails assets:precompile
I get the following error:
rake aborted!
Sprockets::ArgumentError: link_directory argument must be a directory
/home/user/myapp/app/assets/config/manifest.js:2
Here is the manifest.js file
//= link_tree ../images
//= link_directory ../stylesheets .css
I cant figure out what Im doing wrong. Unless I'm mistaken, doesn't webpacker replace sprockets?