Fix Gemfile mode