Fix issues with Gemfile