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 found an easy fix after a lot of trials of rebuild's
bundle config --delete without bundle config --delete with bundle install
If you accidentally built the gemset prior to seting your envirnoment correctly, then this may help clear out the problems.