Skip to content

Commit 12ba3a8

Browse files
committed
Fixed bug with Windows pre-compiled extension loading.
1 parent 1795faa commit 12ba3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/extension_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def self.jruby?
2020
rescue LoadError
2121
# may be a Windows cross-compiled native gem
2222
begin
23-
require "#{RUBY_VERSION[0..2]}/concurrent/extension"
23+
require "concurrent/#{RUBY_VERSION[0..2]}/extension"
2424
@@c_ext_loaded = true
2525
rescue LoadError
2626
warn 'Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com'

0 commit comments

Comments
 (0)