Permalink
Browse files

merge [5424] from trunk

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-pre-release@5425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 5350fda commit 7953eb170d91f44c7c202cbc85555720f9ed1a80 Scott Barron committed Nov 3, 2006
Showing with 2 additions and 8 deletions.
  1. +2 −8 railties/lib/breakpoint.rb
View
10 railties/lib/breakpoint.rb
@@ -17,14 +17,8 @@
require 'irb'
if RUBY_VERSION == '1.8.5'
- begin
- require 'rubygems'
- require 'breakpoint185'
- rescue LoadError
- def Binding.of_caller(&block)
- raise """Breakpoints do not work in Ruby 1.8.5 without call_stack.
-gem install call_stack or see http://eigenclass.org/hiki.rb?call_stack"""
- end
+ def Binding.of_caller(&block)
+ raise "Breakpoints are not currently working with Ruby 1.8.5"
end
else
require 'binding_of_caller'

0 comments on commit 7953eb1

Please sign in to comment.