diff --git a/lib/ruby_wasm/packager.rb b/lib/ruby_wasm/packager.rb index 1a0372bea1..9b354118fd 100644 --- a/lib/ruby_wasm/packager.rb +++ b/lib/ruby_wasm/packager.rb @@ -68,7 +68,7 @@ def ruby_core_build # Retrieves the specs from the Bundler definition, excluding the excluded gems. def specs return [] unless @definition - @specs ||= @definition.resolve.materialize(@definition.requested_dependencies) + __skip__ = @specs ||= @definition.resolve.materialize(@definition.requested_dependencies) .reject { |spec| EXCLUDED_GEMS.include?(spec.name) } .reject { |spec| spec.is_a?(Bundler::LazySpecification) } @specs diff --git a/sig/ruby_wasm/packager.rbs b/sig/ruby_wasm/packager.rbs index a9e72c2e4d..04ba027d77 100644 --- a/sig/ruby_wasm/packager.rbs +++ b/sig/ruby_wasm/packager.rbs @@ -46,7 +46,7 @@ class RubyWasm::Packager def root: () -> string - ALL_DEFAULT_EXTS: string + ALL_DEFAULT_EXTS: String def build_options: () -> Hash[Symbol, untyped] def full_build_options: () -> Hash[Symbol, untyped]