Rails, .irbrc, fixes
It looks like Giles Bowkett’s Utility Belt gem is having the same sort problems with Rails as GuessMethod, i.e. loading .irbrc anywhere that isn’t irb or script/console breaks things. His problem was one of method name conflicts and visibility, but the ultimate solution is the same: leave .irbrc alone when loading script/server! As Giles says, this should be considered a bug in Rails…
…but it appears to have been fixed in Rails 2.0.x, so any temporary hacks can go away as soon as everyone upgrades.
Radarek said,
December 17, 2007 @ 2:31 pm
Yeah, I had the same problem tomorrow and it took me 2 hours to solve it! (thanks for great netbeans debugger). But I can’t understand why .irbrc is loaded by rails and why on every request?
Radarek said,
December 17, 2007 @ 2:31 pm
tomorrow = today of course :)