mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* 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
14 lines
296 B
Ruby
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
|