add thor gem to Gemfile