Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use the --debugger option rather than starting the debugger manually.

  • Loading branch information...
commit 30f5c5d4e3e92ef094a39d0141a200488e0b95e1 1 parent ade8181
Myron Marston authored July 03, 2010
3  spec/spec.opts
... ...
@@ -1,2 +1,3 @@
1 1
 --color
2  
---format nested
  2
+--format nested
  3
+--debugger
8  spec/spec_helper.rb
@@ -10,14 +10,6 @@
10 10
 require 'spec'
11 11
 require 'spec/autorun'
12 12
 
13  
-begin
14  
-  require 'ruby-debug'
15  
-  Debugger.start
16  
-  Debugger.settings[:autoeval] = true if Debugger.respond_to?(:settings)
17  
-rescue LoadError
18  
-  # ruby-debug wasn't available so neither can the debugging be
19  
-end
20  
-
21 13
 # Ruby 1.9.1 has a different yaml serialization format.
22 14
 YAML_SERIALIZATION_VERSION = RUBY_VERSION == '1.9.1' ? '1.9.1' : 'not_1.9.1'
23 15
 

0 notes on commit 30f5c5d

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