Skip to content

Commit 7a0a03e

Browse files
committed
Remove unused kwarg
1 parent af6d318 commit 7a0a03e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/language_pack/ruby.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ def compile
106106
self.class.setup_language_pack_environment(
107107
app_path: app_path.expand_path,
108108
user_env_hash: self.user_env_hash,
109-
ruby_version: @ruby_version,
110109
bundle_default_without: "development:test",
111110
default_config_vars: self.default_config_vars
112111
)
@@ -315,7 +314,7 @@ def default_jruby_opts
315314
end
316315

317316
# sets up the environment variables for the build process
318-
def self.setup_language_pack_environment(app_path:, bundle_default_without:, ruby_version:, default_config_vars:, user_env_hash: )
317+
def self.setup_language_pack_environment(app_path:, bundle_default_without:, default_config_vars:, user_env_hash: )
319318
# By default Node can address 1.5GB of memory, a limitation it inherits from
320319
# the underlying v8 engine. This can occasionally cause issues during frontend
321320
# builds where memory use can exceed this threshold.

lib/language_pack/test/ruby.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def compile
2323
)
2424
self.class.setup_language_pack_environment(
2525
app_path: self.app_path.expand_path,
26-
ruby_version: @ruby_version,
2726
user_env_hash: self.user_env_hash,
2827
bundle_default_without: "development",
2928
default_config_vars: self.default_config_vars

0 commit comments

Comments
 (0)