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

前端 未结 10 592
伪装坚强ぢ
伪装坚强ぢ 2020-12-14 05:36

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
rake aborted!
Lo         


        
10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 06:02

    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.

提交回复
热议问题