Skip to content

Commit 4cb8ea2

Browse files
eregonhurricup
authored andcommitted
Skip ruby-debug-ide mkrf_conf.rb on non-CRuby
1 parent 6d864ed commit 4cb8ea2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/mkrf_conf.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
install_dir = File.expand_path("../../../..", __FILE__)
2-
jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
3-
rbx = defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE
42

5-
unless jruby || rbx
3+
if !defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby'
64
require 'rubygems'
75
require 'rubygems/command.rb'
86
require 'rubygems/dependency.rb'

0 commit comments

Comments
 (0)