Disabling ruby scripts
If you would like to temporarily disable your Ruby plugins to see whether a bug you are experiencing is plugin related, perform the following steps:
PC:
To disable plugins:
- Launch SketchUp.
- Try to recreate the bug.
- Next, navigate to Window > Ruby Console.
- In the Ruby Console, type:
Sketchup.plugins_disabled = true
- Exit SketchUp and relaunch. User supplied Ruby plugins should now be disabled and will continue to be disabled until you re-enable them.
- Try to recreate the bug again. If you can't recreate it, then one or more of your Ruby plugins are the culprit. You may consider moving Ruby files out of the Plugins folder to isolate which plugin is causing the issue.
- Navigate back to Window > Ruby Console.
- In the Ruby Console, type:
Sketchup.plugins_disabled = false
. - Exit SketchUp and relaunch. User supplied Ruby plugins should now be re-enabled.
Mac:
To disable plugins:
- Launch SketchUp.
- Try to recreate the bug.
- Navigate to Window > Ruby Console.
- In the Ruby Console, type:
Sketchup.plugins_disabled = true
. - Exit SketchUp and relaunch. User supplied Ruby plugins should now be disabled and will continue to be disabled until you re-enable them.
- Try to recreate the bug again. If you can't recreate it, then one or more of your Ruby plugins are the culprit. You may consider moving Ruby files out of the Plugins folder to isolate which plugin is causing the issue.
- Navigate back to Window > Ruby Console.
- In the Ruby Console, type:
Sketchup.plugins_disabled = false
. User supplied Ruby plugins should now be re-enabled. - Exit SketchUp and relaunch.