I\'ve got an API mode Rails 5 app that won\'t let me run rake routes or rails s. The error I get is:
rake routes
rails s
$ rake routes rake aborted! Lo
I'm posting this as an answer, but I don't like it.
I can "fix" the problem by putting gem 'listen', '~> 3.1.5' in the global Gemfile (and removing it from :development). Then all the errors go away and everything works, but that seems wrong.
gem 'listen', '~> 3.1.5'
:development