diff --git a/Gemfile b/Gemfile index 87b3295..ea720e0 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ # frozen_string_literal: true source 'https://rubygems.org' -ruby '~> 3.0', engine: 'ruby', engine_version: '~> 3.0' +ruby '~> 3.3', engine: 'ruby', engine_version: '~> 3.3' gem 'rake', '~> 13.1.0' gem 'json', '~> 2.6' diff --git a/src/setup.c b/src/setup.c index ac30538..985fa5d 100644 --- a/src/setup.c +++ b/src/setup.c @@ -14,7 +14,7 @@ static bool core(void) { ruby_sysinit(&argc, &argv); int error = ruby_setup(); if RB_LIKELY(!error) { - if RB_LIKELY(ruby_executable_node(ruby_options(1, (char*[]){"-e "}), &error)) { + if RB_LIKELY(ruby_executable_node(ruby_options(2, (char*[]){"ruby", "-e "}), &error)) { ruby_script(arg0); return true; }