From: Date: Wed, 8 Aug 2007 16:20:57 +0000 (-0400) Subject: Added support for ruby-debug to replace breakpointers. X-Git-Url: https://projects.mako.cc/source/selectricity-live/commitdiff_plain/79f6b7581f906943e7e016dfdc3dd8544583beb4?ds=inline Added support for ruby-debug to replace breakpointers. --- 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