Skip to content

Commit 739f961

Browse files
viuginick1valich
authored andcommitted
Fix debase installation on MacOs system ruby (#85)
1 parent 8d2207f commit 739f961

3 files changed

Lines changed: 5 additions & 13 deletions

File tree

ext/attach/extconf.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,8 @@
2929

3030
hdrs = proc {
3131
have_header("vm_core.h") and
32-
have_header("iseq.h") and
33-
have_header("version.h") and
34-
have_header("vm_core.h") and
35-
have_header("vm_insnhelper.h") and
36-
have_header("vm_core.h") and
37-
have_header("method.h")
32+
(have_header("iseq.h") or have_header("iseq.h", ["vm_core.h"])) and
33+
have_header("version.h")
3834
}
3935

4036
# Allow use customization of compile options. For example, the

ext/extconf.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,8 @@
2929

3030
hdrs = proc {
3131
have_header("vm_core.h") and
32-
have_header("iseq.h") and
33-
have_header("version.h") and
34-
have_header("vm_core.h") and
35-
have_header("vm_insnhelper.h") and
36-
have_header("vm_core.h") and
37-
have_header("method.h")
32+
(have_header("iseq.h") or have_header("iseq.h", ["vm_core.h"])) and
33+
have_header("version.h")
3834
}
3935

4036
# Allow use customization of compile options. For example, the

lib/debase/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Debase
2-
VERSION = "0.2.5" unless defined? VERSION
2+
VERSION = "0.2.5.beta1" unless defined? VERSION
33
end

0 commit comments

Comments
 (0)