Skip to content

Commit eeaf222

Browse files
authored
Merge pull request #142 from mrkn/stop_fatgem_support
Stop fatgem support
2 parents 4b1d6ad + ba97c19 commit eeaf222

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/pycall/init.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@ class << LibPython
3636
attr_reader :handle
3737
end
3838

39-
begin
40-
major, minor, _ = RUBY_VERSION.split('.')
41-
require "#{major}.#{minor}/pycall.so"
42-
rescue LoadError
43-
require 'pycall.so'
44-
end
39+
require 'pycall.so'
4540

4641
PyCall.sys.path.append(File.expand_path('../python', __FILE__))
4742

0 commit comments

Comments
 (0)