Do the following to add the Twitter gem to your app:
- Open your
Gemfile
and add this:gem 'twitter', '~> 5.16'
- Type
bundle install
at 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.