Problem with Breakpoint/IRB

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

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

It appears this is a bug with Ruby:
http://rubyforge.org/tracker/?group_id=559&atid=2228&func=detail&aid=4897

Has anyone got a clue?

Thanks,
Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs