From: foonlyboy@... Date: 2018-12-27T21:58:11+00:00 Subject: [ruby-core:90752] [Ruby trunk Misc#15474] Running Rails with jit Issue #15474 has been reported by foonlyboy (Eike Dierks). ---------------------------------------- Misc #15474: Running Rails with jit https://bugs.ruby-lang.org/issues/15474 * Author: foonlyboy (Eike Dierks) * Status: Open * Priority: Normal * Assignee: ---------------------------------------- I have installed ruby-2.6.0 I want to try to run my rails app with the jit. How can this be done? I should try env RUBY_OPTS='--jit' Is this the way the go? The jit ist experimental, but promising, so we need to try it wherever we can. there needs to be a clear documentation, how to enable or disable jit I'd like to enable jit by default, when running 2.6.0 running 2.5.3 with --jit gives: /opt/local/bin/ruby --jit -e 'puts "hello world"' /opt/local/bin/ruby: invalid option --jit (-h will show valid options) (RuntimeError) I'd like to suggest a new env: RUBY_JIT which should only be respected by ruby >= 2.6.0 ~eike -- https://bugs.ruby-lang.org/ Unsubscribe: