DiscourseへのZendesk Communityからのインポート/移行

こんにちは、Discourseコミュニティの皆さん。Discourseフォーラムを使用したいのですが、インポートスクリプト discourse/import_scripts/zendesk.rb を使用してZendeskコミュニティからコンテンツを移行したいと考えています。

import_scriptsフォルダに4つのCSVファイル(comments.csv、users.csv、topics.csv、posts.csv)がありますが、次のコマンドを使用してスクリプトを実行しようとすると、次のエラーが発生します。

RAILS_ENV=production IMPORT=1 bundle install

RAILS_ENV=production bundle exec ruby script/import_scripts/zendesk.rb ./script/import_scripts/

次のエラーが発生します。

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.

gemfile.lockを確認すると、nokogirimini_portile2libv8-node がインストールされているようです。

nokogiri -v を実行すると、次の結果が得られます。


# Nokogiri (1.13.3)
    ---
    warnings: []
    nokogiri:
      version: 1.13.3
      cppflags:
      - "/Users/g001494/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.3-x86_64-darwin/ext/nokogiri"
      - "/Users/g001494/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nokogiri-1.13.3-x86_64-darwin/ext/nokogiri/include"
      - "/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

仕様:

「いいね!」 2