Skip to content
This repository
Browse code

Document how to Build Rubinius for debugging purposes

  • Loading branch information...
commit 9565face76b4c599501642935a0e38a825f8dcab 1 parent d2326d8
Jon Stacey jmstacey authored

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. +8 0 web/doc/en/getting-started/building.markdown
8 web/doc/en/getting-started/building.markdown
Source Rendered
@@ -58,3 +58,11 @@ However, if you are developing Rubinius, you should NOT add the _bin_
58 58 directory to your PATH because the Rubinius build system will pick up the
59 59 `ruby` and `rake` links to the Rubinius executable. Rubinius needs a separate
60 60 Ruby executable to bootstrap itself during the build process.
  61 +
  62 +### Development Mode for Debugging
  63 +
  64 +If you are trying to debug the VM and want to attach a debugger, such as GDB,
  65 +then you will want to compile Rubinius without optimizations. You can do this
  66 +by setting the 'DEV' environment variable and then building.
  67 +
  68 +For example: `DEV=1 rake build`

0 comments on commit 9565fac

Please sign in to comment.
Something went wrong with that request. Please try again.