Skip to content

Commit 071b7c0

Browse files
hsbtmrkn
authored andcommitted
Added helper file for mingw binaries
1 parent 6de8b13 commit 071b7c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/bigdecimal.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
begin
2+
require "#{RUBY_VERSION[/\d+\.\d+/]}/bigdecimal.so"
3+
rescue LoadError
4+
require 'bigdecimal.so'
5+
end

0 commit comments

Comments
 (0)