On Oct 31, 2006, at 4:20 AM, Sam Aaron wrote:
I still have a fond dream of irb inside TextMate...
Just to be sure, are you aware of all the ways to run Ruby code inside of TM?
* Text -> Execute Line Returning Result (⌃R) * Bundles -> Ruby -> Execute Line as Ruby (⌃⇧E) * Bundles -> Ruby -> Execute and Update '# =>' Markers (⌃⇧⌘E)
Each is handy in different circumstances, so it pays to spend a little time fiddling with all three.
Finally, add some great history dumping commands to your .irbrc, like:
http://blog.bleything.net/articles/2006/10/21/shell-style-history-for- irb
Those are great for dumping code you want to further develop in TextMate.
Hope that helps.
James Edward Gray II