We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a7d71 commit eb9dfd6Copy full SHA for eb9dfd6
ext/mkrf_conf.rb
@@ -1,11 +1,12 @@
1
jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
2
+rbx = defined?(RUBY_ENGINE) && 'rbx' == RUBY_ENGINE
3
4
def already_installed(dep)
5
!Gem::DependencyInstaller.new(:domain => :local).find_gems_with_sources(dep).empty? ||
6
!Gem::DependencyInstaller.new(:domain => :local,:prerelease => true).find_gems_with_sources(dep).empty?
7
end
8
-unless jruby
9
+unless jruby || rbx
10
require 'rubygems'
11
require 'rubygems/command.rb'
12
require 'rubygems/dependency.rb'
0 commit comments