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 23e2358 commit 3ee6d2aCopy full SHA for 3ee6d2a
lib/concurrent/atomic_reference/ruby.rb
@@ -4,12 +4,8 @@
4
begin
5
require 'concurrent_ruby_ext'
6
rescue LoadError
7
- begin
8
- # may be a Windows cross-compiled native gem
9
- require "#{RUBY_VERSION[0..2]}/concurrent_ruby_ext"
10
- rescue LoadError
11
- warn 'Attempted to load C extensions on unsupported platform. Continuing with pure-Ruby.'
12
- end
+ # may be a Windows cross-compiled native gem
+ require "#{RUBY_VERSION[0..2]}/concurrent_ruby_ext"
13
end
14
15
0 commit comments