Skip to content
Snippets Groups Projects
Commit 8dd21260 authored by Alexander Polcyn's avatar Alexander Polcyn
Browse files

fix directory check

parent 8067d729
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@
begin
ruby_version_dirname = /(\d+\.\d+)/.match(RUBY_VERSION)
distrib_lib_dir = File.expand_path("#{ruby_version_dirname}/grpc_c",
distrib_lib_dir = File.expand_path(ruby_version_dirname,
File.dirname(__FILE__))
if File.directory?(distrib_lib_dir)
require_relative "#{distrib_lib_dir}/grpc_c"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment