Disabling ruby scripts

With SketchUp 8 Maintenance 2, it's much easier to disable and re-enable Ruby plugins for troubleshooting purposes. 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:

  1. Launch SketchUp.
  2. Try to recreate the bug.
  3. To make sure you will be able to restore Ruby toolbars to their original location when you're done, go to View > Toolbars > Save Toolbar Positions.
  4. Next, navigate to Window > Ruby Console.
  5. In the Ruby Console, type: Sketchup.plugins_disabled = true
  6. Exit SketchUp and relaunch. User supplied Ruby plugins should now be disabled and will continue to be disabled until you re-enable them.
  7. 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.

To re-enable plugins:

  1. Navigate back to Window > Ruby Console.
  2. In the Ruby Console, type: Sketchup.plugins_disabled = false.
  3. Exit SketchUp and relaunch. User supplied Ruby plugins should now be re-enabled.
  4. Finally go to View > Toolbars > Restore Toolbar Positions to restore your Ruby toolbars to their original locations.

Mac:

To disable plugins:

  1. Launch SketchUp.
  2. Try to recreate the bug.
  3. Navigate to Window > Ruby Console.
  4. In the Ruby Console, type: Sketchup.plugins_disabled = true.
  5. Exit SketchUp and relaunch. User supplied Ruby plugins should now be disabled and will continue to be disabled until you re-enable them.
  6. 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.

To re-enable plugins:

  1. Navigate back to Window > Ruby Console.
  2. In the Ruby Console, type: Sketchup.plugins_disabled = false. User supplied Ruby plugins should now be re-enabled.
  3. Exit SketchUp and relaunch.