LoadError: Could not load the ‘listen’ gem (Rails 5)

If you are on rails 5 and you are using the default config/environments/development.rb file it will have this line of code in there.

config.file_watcher = ActiveSupport::EventedFileUpdateChecker

This requires the gem listen. This threw me for a bit as I was doing a rails 4 upgrades to a rails 5

edit:
Forgot to mention that if you comment that line of code out it will not need the listen gem anymore.

Leave a Comment