post_install() {
  set -e
  cd /usr/share/cewl
  bundle config build.nokogiri --use-system-libraries
  bundle config set --local path 'vendor/bundle'
  bundle install
}

post_upgrade() {
  post_install "$@"
}
