Can't install ruby plug-ins: Sketchup8 on a Mac
-
Hello,
I'm fairly new to sketchup and trying to install several free ruby scripts. I have saved them in what I believe should be the correct folder ( Macintosh HD > Library > Application Support > Google SketchUp 8 > SketchUp > plugins ). I am trying to install the scripts through SketchUp > Preferences > Extensions > Install Extensions...
For some of the files, I can see them but not select them (they are greyed out instead of black).
For the files I am able to select, an error message pops up: SketchUp unable to install this extension for an unknown reason.The files I downloaded and manually placed into the plugin folder are: drobGC.rbz, JointPushPull_v2.0b.rbz, makefaces.rb, pathcopy.rb, progressbar.rb, smartdrop_v1.5.rbz, and ToolsOnSurface_v1.8a.rbz. NONE of these are working and I've tried troubleshooting and reading many forums but am still stuck. Can anyone help!?
Thank you!
-
In v8 the correct path MAY NOT be the 'HD...Plugins' folder but the 'User...Plugins' one.
To find the expected path to that type [or copy+paste] this in the Ruby Console +<enter>
Sketchup.find_support_file('Plugins')
You might need to use the toggle to make Lib folders visible.
Move all of your recent additions into the correct location.
If you have the newest version of SketchUp 8 [or v2013] the Preferences > Extensions > Install... button will install things into the correct place for you.
Also with that up to date installed you can install the SketchUcation Plugin Store toolset that adds features allowing you to auto-install from ZIP as well as the standard RBZ archive, and even browse and auto-install plugins from within SketchUp itself... There are also useful Mangers for Plugins and Extensions and other goodies... -
Hi TIG. When I type " Sketchup.find_support_file('Plugins') " into the ruby console, the response is: " /Library/Application Support/Google SketchUp 8/SketchUp/Plugins "... That Library folder only appears in Macintosh HD, not User.
Am I missing something?
Thanks for your help, hoping to sort this out!
-
Sorry about confusing you over this.
I have clarified my previous post,
The Plugins folder's path varies from v8 to v2013...
As you have found it IS usually set up to be the HD one in v8, BUT the User one is the default in v2013...The User one has automatic FULL read/write permissions pre-set.
The HD one does not.
The HD Plugins folder may have restricted permissions [for you] - so set that folders properties to FULL read/write, and also set it so FULL is applied to the folder's contents, so that all scripts and files in subfolders already in there etc are retrospectively fixed too; any newly added contents should follow a folder's current permissions settings.Now you should be able to install and manage your plugins...
Set you system to view Lib folders [why not make an alias link in the Plugins folder in the Finder's side-bar so you can go to it readily].
If you still have trouble come back...
-
THANK YOU so much for your help! I have almost all of the plug-ins working now after changing the read-write settings.
For some reason I am still having problems with ToolsOnSurface_v1.8a.rbz and Pathcopy.rb (pathcopy is a zipped folder which I unzipped, resulting in subfolders within a pathcopy folder). When initializing SketchUp there a Load Error message: Error Loading File ZLoader__OnSurface.rb / no such file to load -- LibFredo6.rb. And for Pathcopy, it is visible, but grey and unable to be selected through Sketchup > Preferences > Extensions > Install Extensions...
I might just give up on these two. But if you have an idea I'd love to hear it!
Thanks again,
Rebecca -
Why are you not getting the RBZ versions and installing them using the Preferences > Extensions > Install... button [available with new versions of SketchUp >=v8M2 and all versions of v2013 - latest recommended], OR if you have a SUp version >= then by using the SketchUcation Plugin Store AutoInstaller that works from with SketchUp itself?
If you get an archive that is only available in .ZIP form, than simply renaming as .RBZ also offers you the same methods.
A ZIP/RBZ archive will contain at least a file - usually a '.rb' [or sometimes more than one file] and often for the more complex plugins there will be a subfolder of support files [and sometimes even sub-subfolders of files] including vital 'helper' files like rb/rbs/png/html/js/css etc.
When the archive's contents are extracted they MUST ALL remain in the exact same relationships when they are moved into the Plugins folder. You MUST NEVER move files out of their subfolder[s], to do so will stop the 'loader' rb [which is in the Plugins folder and therefore auto-loads as SketchUp starts up] from finding the other required files in its subfolder, and these misplaced files can also potentially break SketchUp - if some rb/rbs files that ought to remain in a subfolder to get 'called upon as needed' get auto-loaded as SketchUp starts up and load inappropriately...If you have manually mis-installed subfolders contents look inside the archive's subfolder and manually remove the incorrectly located files, and then reinstall the plugin - the automated >=v8M2 method for RBZs is MUCH the best way.
If you come across a RB version that is unavailable as an RBZ [e.g. from the crai Ruby Depot or Smustard.com] then ZIP it and rename as .RBZ then auto-install it [if you feel confident move it into the Plugins folder manually - but take care ! ]
-
Someone can help me??
Sometimes when i go start the SKP (2013), i received that message...
Error Loading File core.rb
uninitialized constant TT::Plugins::CleanUp::PLUGIN_NAME
Error Loading File /Users/JoaoMaciel/Library/Application Support/SketchUp 2013/SketchUp/Plugins/VfS/Ruby/R2P.rb
undefined methodentityID' for nil:NilClass Error Loading File /Users/JoaoMaciel/Library/Application Support/SketchUp 2013/SketchUp/Plugins/vfs.rb undefined method
entityID' for nil:NilClass
Error Loading File VRayLumen.rb
no such file to load -- VRayLumen/lighttypes.rbI haven't idea how can i resolve this error!
I already set FULL permissions on Plugins folder. -
Did you fix the permissions for correct folder and install into that ?
Sketchup.find_support_file('Plugins)
Also did you set these FULL permissions to affect all of the folder's contents [cogs dropdown...]
Did you get and install the Lib that the tool requires ?
http://sketchucation.com/pluginstore?pln=TT_Lib
Advertisement