ruby: load arch-specific ruby-autogen

develop
Yoann Guillot 2014-11-14 12:49:08 +01:00
parent 696380e749
commit 8042c5d342
1 changed files with 2 additions and 2 deletions

@ -241,7 +241,7 @@ end
# load autogenned file
require './hack/ruby/ruby-autogen-defs'
require './hack/ruby/ruby-autogen'
require(RUBY_PLATFORM =~ /mswin/i ? './hack/ruby/ruby-autogen-win' : './hack/ruby/ruby-autogen-gcc')
# load all modules
Dir['./hack/ruby/*.rb'].each { |m| require m.chomp('.rb') }
Dir['./hack/ruby/*.rb'].each { |m| require m.chomp('.rb') if m !~ /ruby-autogen/ }