@tig said:
The
fileutils.rb
is a standard file found in theRubyStdLib
subfolder within the SketchUpTools
.
It does not auto-load when SketchUp starts, BUT can be required thus:
require "fileutils.rb"
Since the path to theRubyStdLib
subfolder should be auto-added to the$:
the .rb should be found in that folder.
Obviously something is failing...Check a few things...
Is theRubyStdLib
subfolder within the SketchUpTools
?
Does it contain a file namedfileutils.rb
?
If not reinstall SketchUp v2014 [latest version]...
Is the path toRubyStdLib
included in the$:
? To check that you just type$:
in the Ruby Console...
If you typerequire "fileutils.rb"
in the Ruby Console what is the result ?Report back...
Is the RubyStdLib
subfolder within the SketchUp Tools
?yes
Does it contain a file named fileutils.rb
? yes
If not reinstall SketchUp v2014 [latest version]... 14.0.49
Is the path to RubyStdLib
included in the $:
? To check that you just type $:
in the Ruby Console... i don't think so
If you type require "fileutils.rb"
in the Ruby Console what is the result ? false