خطأ في متطلبات سكريبت الاستيراد

أعتذر عن سؤالي كالمبتدئ في Ruby، حيث أنني刚刚 تركت مفاهيم استيراد NodeJS الخاصة بي وحاولت استخدام import_script المعدل في Ruby بدلاً منها.

أحصل على الخطأ التالي require: cannot load such file -- rb-inotify عند محاولة تشغيل السكربت. لاحظ أنني أشغل Discourse على Bitnami (Google Cloud) — وأنا أعلم أن هذه ليست الطريقة المدعومة، ولكن كالمبتدئ التام في Ruby، لست متأكداً مما إذا كان الخطأ يتعلق بـ Bitnami أو أنني فقط أغفلت بعض الأساسيات في Ruby…

Traceback (most recent call last):
json_mt.rb: Bootsnap::LoadPathCache::FallbackScan
        18: from json_mt.rb:4:in `<main>'
        17: from json_mt.rb:4:in `require'
        16: from /opt/bitnami/apps/discourse/htdocs/script/import_scripts/base.rb:16:in `<top (required)>'
        15: from /opt/bitnami/apps/discourse/htdocs/script/import_scripts/base.rb:16:in `require_relative'
        14: from /opt/bitnami/apps/discourse/htdocs/config/environment.rb:4:in `<top (required)>'
        13: from /opt/bitnami/apps/discourse/htdocs/config/environment.rb:4:in `require'
        12: from /opt/bitnami/apps/discourse/htdocs/config/application.rb:65:in `<top (required)>'
        11: from /opt/bitnami/ruby/lib/ruby/gems/2.6.0/gems/bundler-2.1.2/lib/bundler.rb:174:in `require'
        10: from /opt/bitnami/ruby/lib/ruby/gems/2.6.0/gems/bundler-2.1.2/lib/bundler/runtime.rb:58:in `require'
         9: from /opt/bitnami/ruby/lib/ruby/gems/2.6.0/gems/bundler-2.1.2/lib/bundler/runtime.rb:58:in `each'
         8: from /opt/bitnami/ruby/lib/ruby/gems/2.6.0/gems/bundler-2.1.2/lib/bundler/runtime.rb:69:in `block in require'
         7: from /opt/bitnami/ruby/lib/ruby/gems/2.6.0/gems/bundler-2.1.2/lib/bundler/runtime.rb:69:in `each'
         6: from /opt/bitnami/ruby/lib/ruby/gems/2.6.0/gems/bundler-2.1.2/lib/bundler/runtime.rb:74:in `block (2 levels) in requ
ire'
         5: from /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/co
re_ext/kernel_require.rb:27:in `require'
         4: from /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/co
re_ext/kernel_require.rb:41:in `rescue in require'
         3: from /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/co
re_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
         2: from /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/lo
aded_features_index.rb:89:in `register'
         1: from /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/co
re_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_req
uire.rb:23:in `require': cannot load such file -- rb-inotify (LoadError)

(لاحظ أنني حاولت تشغيل بعض سكربتات الاستيراد المضمنة وغير المخصصة… مع نفس الخطأ. لذا يبدو أن الخطأ ليس ناتجاً عن أي من تعديلاتي على كود Ruby)

للأسف، لا يمكننا دعم تثبيت Bitnami هنا. سيتعين عليك التواصل مع Bitnami للحصول على مساعدة محددة؛ وإلا، فإننا نوصي بدليل التثبيت الرسمي الخاص بنا.

حسناً، حسناً. لقد نجحتم في إغرائي للابتعاد عن الجانب المظلم.

لقد بدأت للتو في إعادة التثبيت باستخدام Docker. أحرز تقدماً، لكن من المرجح أن تسمعوا مني مرة أخرى قريباً… :wink:

بشرط أن تستخدم تثبيتًا مدعومًا، سنقوم (محاولة) المساعدة في أي شيء تقريبًا.