# frozen_string_literal: true
require "mysql2"
begin
require "php_serialize" # https://github.com/jqr/php-serialize
rescue LoadError
puts
puts "php_serialize not found."
puts "Add to Gemfile, like this: "
puts
puts "echo gem \\'php-serialize\\' >> Gemfile"
puts "bundle install"
exit
end
require_relative "base"
# Call it like this:
# RAILS_ENV=production bundle exec ruby script/import_scripts/xenforo.rb
This file has been truncated. show original