]> projects.mako.cc - selectricity/commitdiff
Added support for ruby-debug to replace breakpointers.
author<mako@atdot.cc> <>
Wed, 8 Aug 2007 16:20:57 +0000 (12:20 -0400)
committer<mako@atdot.cc> <>
Wed, 8 Aug 2007 16:20:57 +0000 (12:20 -0400)
README
config/environments/development.rb

diff --git a/README b/README
index 2cc3ccc32702d2fb37b6661f829482c71effb63b..f8a8928fda987277debb2a5b2eca825684d3a5d4 100644 (file)
--- a/README
+++ b/README
@@ -8,11 +8,18 @@ addition to rails and its dependencies:
  * rmagick
  * gruff
 
+To use Selectricity in development mode, you'll need to install the
+following gems:
+
+ * ruby-debug
+
 Also, you will need install the other applications installed first:
 
  * imagemagick (http://www.imagemagick.org/)
 
-   On Ubuntu, install: imagemagick libmagick9-dev ruby1.8-dev libwmf-bin
+On Ubuntu, you can install install the dependencies with: 
+  apt-get install imagemagick libmagick9-dev ruby1.8-dev libwmf-bin
+
 
 ===============================================
 === Contributors to Selectricity Include ======
index 0589aa979e30b065d7cd758e71246203c2024516..12a3e04e5fb70df7ae8d679999e2ee76cd50fe20 100644 (file)
@@ -19,3 +19,8 @@ config.action_view.debug_rjs                         = true
 
 # Don't care if the mailer can't send
 config.action_mailer.raise_delivery_errors = false
+
+# start the debugger
+require 'ruby-debug'
+SCRIPT_LINES__ = {}
+Debugger.start

Benjamin Mako Hill || Want to submit a patch?