# Problem with Breakpoint/IRB

**URL:** <https://www.ruby-forum.com/t/problem-with-breakpoint-irb/111700>\
**Category:** Rails\
**Created:** [August 9, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/problem-with-breakpoint-irb/111700 "2007-08-09T22:42:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 9, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/problem-with-breakpoint-irb/111700/1 "2007-08-09T22:42:00Z")

</div>

I have just set up Rails on a Macbook with Rails 1.2.3 and Ruby 1.8.6  
(2007-03-13 patchlevel 0) [i686-darwin8.10.1].

When I run my unit tests with a breakpoint, the IRB session does not  
allow me to access the variables? If I inspect the local\_variables I  
don’t see any of them:

local\_variables  
=\> [“id”, “block”, “\_”]

I don’t know if it is related to the problem, but I do have that  
obnoxious warning message: /config/boot.rb:38:Warning: require\_gem is  
obsolete. Use gem instead. Incidentally, I tried change require\_gem  
to gem, but it didn’t work so I am living with the warning.

Thanks,  
Tom

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 17, 2007, 2:31am UTC](https://www.ruby-forum.com/t/problem-with-breakpoint-irb/111700/2 "2007-08-17T02:31:39Z")

</div>

I never got a reply to this post and still have the issue. Anyone  
have any leads for me? I just started over the whole install process  
with the exact same results.

Thanks!  
Tom

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 17, 2007, 9:20pm UTC](https://www.ruby-forum.com/t/problem-with-breakpoint-irb/111700/3 "2007-08-17T21:20:33Z")

</div>

It appears this is a bug with Ruby:  
[http://rubyforge.org/tracker/?group\_id=559&atid=2228&func=detail&aid=4897](http://rubyforge.org/tracker/?group_id=559&atid=2228&func=detail&aid=4897)

Has anyone got a clue?

Thanks,  
Tom
