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 c736e1a commit 42ca752Copy full SHA for 42ca752
concurrent-ruby.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
if defined?(JRUBY_VERSION)
26
s.files += Dir['lib/concurrent_ruby_ext.jar']
27
s.platform = 'java'
28
- else
+ elsif ! ENV['BUILD_PURE_RUBY']
29
s.extensions = 'ext/concurrent_ruby_ext/extconf.rb'
30
s.files += Dir['ext/**/*.{h,c,cpp}']
31
end
lib/concurrent/atomic.rb
@@ -11,7 +11,7 @@
11
12
require "concurrent/atomic_reference/#{ruby_engine}"
13
rescue LoadError
14
- warn "Unsupported Ruby engine `#{RUBY_ENGINE}', using less-efficient Atomic impl"
+ warn 'Compiled extensions not installed, pure Ruby Atomic will be used.'
15
16
17
if defined? Concurrent::JavaAtomic
0 commit comments