Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Commit

Permalink
Try to fix error when path string is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBluecame committed Mar 19, 2017
1 parent 19e93eb commit bcd4803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion su2yafaray/su2yafaray.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit bcd4803

Please sign in to comment.