Hello Discourse Community, I am looking to use the Discourse forum but want to migrate content from Zendesk Community using the import script discourse/import_scripts/zendesk.rb
I have 4 CSV files inn the import_scripts folder (comments.csv, users.csv, topics.csv, posts.csv), but when I try to run the script using the following commands:
RAILS_ENV=production IMPORT=1 bundle install
RAILS_ENV=production bundle exec ruby script/import_scripts/zendesk.rb ./script/import_scripts/
it leads to these errors:
Could not find nokogiri-1.13.3, mini_portile2-2.8.0, libv8-node-16.10.0.0 in any of the sources
Run `bundle install` to install missing gems.
Checking gemfile.lock, it seems that nokogiri
, mini_portile2
, libv8-node
, were installed.
nokogiri -v results in the following:
# Nokogiri (1.13.3)
---
warnings: []
nokogiri:
version: 1.13.3
cppflags:
- "-I/Users/g001494/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.3-x86_64-darwin/ext/nokogiri"
- "-I/Users/g001494/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.3-x86_64-darwin/ext/nokogiri/include"
- "-I/Users/g001494/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.3-x86_64-darwin/ext/nokogiri/include/libxml2"
ldflags: []
ruby:
version: 2.7.3
platform: x86_64-darwin21
gem_platform: x86_64-darwin-21
description: ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-darwin21]
engine: ruby
libxml:
source: packaged
precompiled: true
patches:
- 0001-Remove-script-macro-support.patch
- 0002-Update-entities-to-remove-handling-of-ssi.patch
- 0003-libxml2.la-is-in-top_builddir.patch
- 0004-use-glibc-strlen.patch
- 0005-avoid-isnan-isinf.patch
- 0006-update-automake-files-for-arm64.patch
- '0008-htmlParseComment-handle-abruptly-closed-comments.patch'
- '0009-allow-wildcard-namespaces.patch'
- 0010-Revert-Different-approach-to-fix-quadratic-behavior.patch
libxml2_path: "/Users/g001494/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.3-x86_64-darwin/ext/nokogiri"
memory_management: ruby
iconv_enabled: true
compiled: 2.9.13
loaded: 2.9.13
libxslt:
source: packaged
precompiled: true
patches:
- 0001-update-automake-files-for-arm64.patch
datetime_enabled: true
compiled: 1.1.35
loaded: 1.1.35
other_libraries:
zlib: 1.2.11
libiconv: '1.16'
libgumbo: 1.0.0-nokogiri
Specs:
- Setup my Discourse Development Instance following the Beginners Guide to Install Discourse on macOS for Development doc
- macOS Monterey version 12.2.1
- Ruby:
ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-darwin21]