Fix issues with gemfile