I recently inherited a small Rails website. When I attempted to make a change to a css
file, I encountered an error page (code 500) in Rails with the following message:
No such file or directory - /.../cache/assets/sprockets%2F1450c8f5d2b6e201d72fa175586bbd9720131025-15645-1c0s8zd.lock
I have tried the following steps to resolve the issue:
- Restarting the Rails server
- Rebooting my computer
- Clearing the assets cache
- Clearing the temporary files
- Shutting down the server > running rake assets:clean > running rake tmp:clear > restarting the server
The only solution that has worked so far is reverting the changes I made.
Since I am not sure where to begin troubleshooting this issue, any guidance or pointers would be greatly appreciated.