I am making a web application with a simple login function using IDE (paiza.cloud).
I get the following error when creating a controller.

Error message
FATAL: Listen error: unable to monitor directories for changes.
Visit https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for info on how to fix this.
Corresponding source code
Source code
What I tried

I understand that the following is described in the kernel parameter configuration file, but I don't know which file to write it in. Thanks for your support.
echo fs.inotify.max_user_watches = 524288 | sudo tee -a /etc/sysctl.conf

Supplementary information (FW/tool version, etc.)

The environment is paiza.cloud.


ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]

  • Answer # 1

    You enter it in the terminal of the server

    That said, it may not work because I don't know how much PaizaCloud gives the user permission to execute commands on the server ...

    If you do not accept the command even if you enter it, check by email to PaizaCloud&&It seems that there is no other way to do it ...