Do the following to add the Twitter gem to your app:
- Open your
Gemfileand add this:
gem 'twitter', '~> 5.16'
bundle installat the command line (making sure you’re in the
directory of your Rails app) and hit enter.
You should see some messages relating to gem installation.