Fix Gemfile/ruby problems