1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-25 01:05:37 +00:00

[meson] ruby dependency: ruby not ruby-2.6

Also initialize error, because rb_load_protect, does not change it.
This commit is contained in:
Witold Filipczyk 2021-08-17 16:09:05 +02:00
parent 8154169711
commit ee49c80061
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@ endif
rubydeps = []
if conf_data.get('CONFIG_SCRIPTING_RUBY')
rubydeps = dependency('ruby-2.6')
rubydeps = dependency('ruby')
deps += rubydeps
endif

View File

@ -247,7 +247,7 @@ init_ruby(struct module *module)
if (!path) return;
if (file_can_read(path)) {
int error;
int error = 0;
/* Load ~/.elinks/hooks.rb into the interpreter. */
//rb_load_file(path);