From bcd480331a245783c47d704b1034afaba33aa6db Mon Sep 17 00:00:00 2001 From: DavidBluecame Date: Sun, 19 Mar 2017 07:22:31 +0100 Subject: [PATCH] Try to fix error when path string is nil --- su2yafaray/su2yafaray.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/su2yafaray/su2yafaray.rb b/su2yafaray/su2yafaray.rb index efdb96d..1ba073f 100644 --- a/su2yafaray/su2yafaray.rb +++ b/su2yafaray/su2yafaray.rb @@ -35,7 +35,7 @@ require 'sketchup.rb' path=File.join(File.dirname(__FILE__),'bin') -ENV["path"] = path + ";" + ENV["path"] #To avoid the "error 126" when loading the "required" .so modules +ENV["path"] = path.to_s + ";" + ENV["path"].to_s #To avoid the "error 126" when loading the "required" .so modules require 'yafqt' require 'yafaray_v3_interface_ruby'