# File lib/rspec/core/configuration.rb, line 250 def debug=(bool) return unless bool begin require 'ruby-debug' Debugger.start rescue LoadError raise "\n\#{'*'*50}\nYou must install ruby-debug to run rspec with the --debug option.\n\nIf you have ruby-debug installed as a ruby gem, then you need to either\nrequire 'rubygems' or configure the RUBYOPT environment variable with\nthe value 'rubygems'.\n\#{'*'*50}\n" end end