Skip to main content
Ruby Language:

How to use the Ruby 2.6 Just-in-Time (JIT) Compiler

7

Episode 278 · December 28, 2018

Learn how to enable the experimental new Just-in-time compiler for Ruby 2.6

ruby


To enable and run the JIT in Ruby 2.6

ruby --jit test.rb
ruby --jit-verbose=1 test.rb

RUBYOPT="--jit" rails server
RUBYOPT="--jit-verbose=1" rails server

RUBYOPT="--jit" sidekiq

Resources

Transcripts

No transcripts available. Earn a free month

Loading...

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.