rails初步学习报错处理总结(一)
问题1:
chen@chen-ThinkPad-T420s:~/rails_on_ruby/study/bin$ rails g controller users siginup
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.
方法一:echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p 或者详情看