Changeset 5425
- Timestamp:
- 11/03/06 18:21:23 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-2-pre-release/railties/lib/breakpoint.rb
r5409 r5425 18 18 require 'irb' 19 19 if RUBY_VERSION == '1.8.5' 20 begin 21 require 'rubygems' 22 require 'breakpoint185' 23 rescue LoadError 24 def Binding.of_caller(&block) 25 raise """Breakpoints do not work in Ruby 1.8.5 without call_stack. 26 gem install call_stack or see http://eigenclass.org/hiki.rb?call_stack""" 27 end 20 def Binding.of_caller(&block) 21 raise "Breakpoints are not currently working with Ruby 1.8.5" 28 22 end 29 23 else