There's again the "Could not find a JavaScript runtime" error during the GitLab CI/CD build
So execjs requires a runtime. Some times ago I added rubyracer (see https://stackoverflow.com/questions/9202324/execjs-could-not-find-a-javascript-runtime-but-execjs-and-therubyracer-are-in) and that made the error go away. However with latest version bumps it came back again. First I tried gem "therubyracer", :platforms => :ruby
instead of just gem "therubyracer"
. I also got to know that there's a gem called mini_racer which is kinda maintained, I saw that in https://stackoverflow.com/questions/65617815/how-to-replace-therubyracer-javascript-runtime
However probably the best solution is to install nodejs. I'll try that.