From 79f6b7581f906943e7e016dfdc3dd8544583beb4 Mon Sep 17 00:00:00 2001 From: Date: Wed, 8 Aug 2007 12:20:57 -0400 Subject: [PATCH] Added support for ruby-debug to replace breakpointers. --- README | 9 ++++++++- config/environments/development.rb | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README b/README index 2cc3ccc..f8a8928 100644 --- 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 ====== diff --git a/config/environments/development.rb b/config/environments/development.rb index 0589aa9..12a3e04 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -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 -- 2.39.5