Files
Michael BiancoandGitHub 2432535ce3 feat: additional mise config and idiomatic version files enabling precompiled ruby support (#487)
* fix: change generated mise name to distinguish from user-provided mise.toml, add mise.lock

* docs: misc code comments

* build: stop all docker containers locally when cleaning

* feat: support all idiomatic version files and mise config files in mise installation step

* this enables the user to use advanced configuration (like forcing ruby precompiled binaries) in their mise.toml
* also supported mise.lock during the installation step

* test: ruby 3 compiled test

* docs: note about no main.rb

* fix: cache mise config file search

* refactor: move railpack json config

* test: yjit test and jemalloc on precompiled ruby

* test: enable sassc and other common gems to make sure they don't fail when compiling

* docs: add dedicated mise page

* docs: pulling in the mise docs

needs more deslop effort

* test: snapshot update

* docs: deslop

* test: update test asset name for mise.toml generation

Generated-by: aiautocommit
2026-03-18 14:37:17 -06:00

14 lines
296 B
Ruby

if RubyVM::YJIT.enabled?
yjit = "enabled"
else
yjit = "not enabled"
end
puts "Hello from Ruby #{RUBY_VERSION}! YJIT is #{yjit}."
puts "Ruby version: #{RUBY_VERSION}"
if File.read("/proc/self/maps").include?("libjemalloc")
puts "jemalloc available"
else
puts "jemalloc not available"
end