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

post_upgrade() {
  post_install "$@"
}

