fix deprecates; update Gemfile; update gems; use poltergeist instead of selenium for capybara driver; fix typo