Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Document how to Build Rubinius for debugging purposes

  • Loading branch information...
commit 9565face76b4c599501642935a0e38a825f8dcab 1 parent d2326d8
Jon Stacey jmstacey authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 web/doc/en/getting-started/building.markdown
8 web/doc/en/getting-started/building.markdown
View
@@ -58,3 +58,11 @@ However, if you are developing Rubinius, you should NOT add the _bin_
directory to your PATH because the Rubinius build system will pick up the
`ruby` and `rake` links to the Rubinius executable. Rubinius needs a separate
Ruby executable to bootstrap itself during the build process.
+
+### Development Mode for Debugging
+
+If you are trying to debug the VM and want to attach a debugger, such as GDB,
+then you will want to compile Rubinius without optimizations. You can do this
+by setting the 'DEV' environment variable and then building.
+
+For example: `DEV=1 rake build`
Please sign in to comment.
Something went wrong with that request. Please try again.