Twitter gem issue Ruby on Rails
We were using twitter 5.5 gem in our ror project, we were searching for mentions in twitter api when we encountered error ‘Twitter::Error: 399’. It can be fixed in 2 ways:
1. You can use Yajl parser i.e Rails gem yajl-ruby.
2. Upgrade your twitter Rails gem to latest version. Twitter gem 5.11 is the latest gem for Rails at the time of this post.