Skip to content

Commit

Permalink
Update to Ruby 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ParadoxV5 committed Jan 8, 2024
1 parent 909b131 commit c4e2141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c4e2141

Please sign in to comment.