Whenever I issue the command: RAILS_ENV=production bundle exec ruby script/import_scripts/xenforo.rb
/var/discourse/script/import_scripts/base.rb:14:in `require_relative': cannot load such file -- /var/discourse/config/environment (LoadError) from /var/discourse/script/import_scripts/base.rb:14:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from script/import_scripts/xenforo.rb:3:in `<main>'
script/import_scripts/xenforo.rb:1:in `require': cannot load such file -- mysql2 (LoadError) from script/import_scripts/xenforo.rb:1:in `<main>'
Been messing with the import process for a bit and am stumped, every time I find a solution to one aspect there seems to be another issues. Definitely not user friendly on imports yet. Hope to write a detailed step by step guide to importing Xenforo here for anyone that follows whenever I’m able to get it to work.
Xenforo Import Script: discourse/xenforo.rb at master · discourse/discourse · GitHub
If anyone knows which steps to follow to start the import process that would be helpful. I couldn’t find anything related to the xenforo import steps other than what’s in that script.