Skip to content

Commit e8c85a8

Browse files
committed
Revert "Skip debase extconf.rb on non-CRuby"
This reverts commit 0371c65.
1 parent 022da53 commit e8c85a8

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

ext/attach/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if defined?(RUBY_ENGINE) && RUBY_ENGINE != 'ruby'
1+
if defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE
22
# create dummy Makefile to indicate success
33
f = File.open(File.join(File.dirname(__FILE__), "Makefile"), "w")
44
f.write("all:\n\techo all\ninstall:\n\techo installed\n")

ext/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if defined?(RUBY_ENGINE) && RUBY_ENGINE != 'ruby'
1+
if defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE
22
# create dummy Makefile to indicate success
33
f = File.open(File.join(File.dirname(__FILE__), "Makefile"), "w")
44
f.write("all:\n\techo all\ninstall:\n\techo installed\n")

lib/debase.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
if defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE
22
require 'debase/rbx'
3-
elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == 'truffleruby'
4-
require "debase/version"
5-
return
63
else
74
require "debase_internals"
85
end

0 commit comments

Comments
 (0)