Closed Faq closed 1 year ago
It's unclear from your description where you're using mini_racer, @Faq.
In a Rails-based project where I'm using mini_racer
directly, putting MiniRacer::Platform.set_flags!(:single_threaded)
was sufficient. Where are you currently calling it from?
Thnx, checked and looks like for this old project it is not needed anymore as wasn't even running. That is what you get blindly upgrade gems with rails/ruby.
Hello, Rails 7 Ruby 3.1
Migrated to ruby v3.1 and also changed gem from therubyracer to _miniracer 0.6.2, no other changes were done.
Searching for:
MiniRacer::Context
It is found only used in gem execjs v2.8.1Running all tests getting several such warnings for this exact test file(running only this single file not triggers warning), file content:
Problem: For me is not clear where should I put this line in such case.
MiniRacer::Platform.set_flags!(:single_threaded)