Skip to content

How to set up an IDE for debugging Ruby extensions in SketchUp

Bugra Barin edited this page Apr 4, 2014 · 6 revisions

As with any software installation, please follow these instructions at your own risk. They are simply our setup experiences documented and they may or may not work for your specific setup.

Install and debug with Aptana RadRails

  • Download the “Standalone” version of Aptana RadRails from http://www.aptana.com/products/studio3/download
  • Run the installer, accept the default options.
  • Run Aptana Studio 3
  • It will ask to Select a Workspace. You may choose the default and check “Do not ask again”
  • When the program starts, select File/New/Ruby Project
  • Pick Default Project, then Next.
  • Enter a project name, for instance “2014 Plugins”
  • For “Location:”, browse to your SketchUp 2014 Plugins folder, it will be C:\Users<username>\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins
  • You’ll get a red warning text indicating that you may lose your code if you delete this project. So that is something to be aware of.
  • Select the “I’ll generate my own code…” radio button, which should be selected already.
  • Click Finish
  • Go to Run/Debug Configurations…
  • You’ll see a list box on the left with different config options. Select “Remote Ruby Debug Session”
  • Click on the “New Launch Configuration” button (shown below)
Clone this wiki locally