13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/ruwi/cli/command/rebuild.rb', line 13
def run(_argv)
log_info("Rebuilding Ruby WASM...")
puts ""
ruby_version_str = check_ruby_version
log_info("Step 1/2: Configuring excluded gems...")
configure_excluded_gems
log_success("✓ Excluded gems configured")
puts ""
log_info("Step 2/2: Building Ruby WASM...")
log_info("Running: rbwasm build --ruby-version #{ruby_version_str} -o ruby.wasm")
build_ruby_wasm(ruby_version_str)
log_success("✓ Ruby WASM build completed")
puts ""
log_success("Rebuild completed successfully!")
end
|