fix gemfile with headless