Edited Gemfile to add versions of gems as in Hartl's book and added Devise.