mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05: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:
parent
8154169711
commit
ee49c80061
@ -302,7 +302,7 @@ endif
|
|||||||
|
|
||||||
rubydeps = []
|
rubydeps = []
|
||||||
if conf_data.get('CONFIG_SCRIPTING_RUBY')
|
if conf_data.get('CONFIG_SCRIPTING_RUBY')
|
||||||
rubydeps = dependency('ruby-2.6')
|
rubydeps = dependency('ruby')
|
||||||
deps += rubydeps
|
deps += rubydeps
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -247,7 +247,7 @@ init_ruby(struct module *module)
|
|||||||
if (!path) return;
|
if (!path) return;
|
||||||
|
|
||||||
if (file_can_read(path)) {
|
if (file_can_read(path)) {
|
||||||
int error;
|
int error = 0;
|
||||||
|
|
||||||
/* Load ~/.elinks/hooks.rb into the interpreter. */
|
/* Load ~/.elinks/hooks.rb into the interpreter. */
|
||||||
//rb_load_file(path);
|
//rb_load_file(path);
|
||||||
|
Loading…
Reference in New Issue
Block a user