Partial refactoring Gemfile setup