I'm not sure why you changed this. I had to delete "gem 'devise'", because you had 'devise' in the Gemfile twice. I also had pull 'gem "twitter-bootstrap-rails", "~> 2.2.8"' out of the group block.