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