Updated Gemfiles

Updated Gemfile for Heroku. Other gem changes to align with versions specified in the book.