Fix Gemfile generation