Fix deployment issue, and silence some gemfile warnings.