Disculpas por la pregunta de principiante en Ruby, ya que acabo de abandonar mis nociones de importación de Node.js y estoy intentando usar un import_script de Ruby modificado.
Estoy recibiendo el siguiente error require: cannot load such file -- rb-inotify al intentar ejecutar el script. Ten en cuenta que estoy ejecutando Discourse en Bitnami (Google Cloud), lo cual sé que no es el método soportado, pero como principiante total en Ruby, no estoy seguro de si el error está relacionado con Bitnami o si simplemente me estoy perdiendo algún concepto fundamental de 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)
(Ten en cuenta que he intentado ejecutar algunos de los scripts de importación incluidos, no personalizados… con el mismo error. Por lo tanto, parece que no es desencadenado por ninguna de mis ediciones en el código Ruby).