Skip to content

Commit eb9dfd6

Browse files
committed
do not install dependencies for rubinius
1 parent 15a7d71 commit eb9dfd6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/mkrf_conf.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
2+
rbx = defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE
23

34
def already_installed(dep)
45
!Gem::DependencyInstaller.new(:domain => :local).find_gems_with_sources(dep).empty? ||
56
!Gem::DependencyInstaller.new(:domain => :local,:prerelease => true).find_gems_with_sources(dep).empty?
67
end
78

8-
unless jruby
9+
unless jruby || rbx
910
require 'rubygems'
1011
require 'rubygems/command.rb'
1112
require 'rubygems/dependency.rb'

0 commit comments

Comments
 (0)