[RAILS] No such file or directory @ rb_sysopen --Error like public/user_images/1.jpg

Unable to save image

I came across it while building an application in Rails.

The solution is that there is no folder named user_images in the public directory, so creating a folder with that name eliminated the error.

Recommended Posts

No such file or directory @ rb_sysopen --Error like public/user_images/1.jpg
No such file or directory @ rb_sysopen-/Users/○○/Gemfile.lock (Errno :: ENOENT) suffered
PG :: ConnectionBad: could not connect to server: No such file or directory
When dealing with whenever in Docker No such file or directory --crontab
When I did rails new, I got an error saying PG :: ConnectionBad: could not connect to server: No such file or directory
[Android] no such table error solution
Error: Error response from daemon: No such container:
[Error] `cannot load such file --mime/types/data (LoadError)`
Attempting to run gnome-terminal inside a Docker container fails (Failed to execute child process “dbus-launch” (No such file or directory))