projects
/
selectricity
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9f3bbd
)
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
patch
|
blob
|
history
config/environments/development.rb
patch
|
blob
|
history
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
* 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/)
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 ======
===============================================
=== Contributors to Selectricity Include ======
diff --git
a/config/environments/development.rb
b/config/environments/development.rb
index 0589aa979e30b065d7cd758e71246203c2024516..12a3e04e5fb70df7ae8d679999e2ee76cd50fe20 100644
(file)
--- 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
# 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?