Hey, and as an aside, XP pro systems have ENV['HOMEPATH'], so you'd change

LOG = "#{ENV['HOME']}/.irb-history"
to
LOG = "#{ENV['HOMEPATH']}\\.irb-history"

Worked like a charm for me.

And, thanks to all for these great pointers.  Very helpful.


On 7/26/06, Nick Sieger < [EMAIL PROTECTED]> wrote:
On 7/26/06, Jesper Rønn-Jensen <[EMAIL PROTECTED]> wrote:
On 7/26/06, Michael Bolton < [EMAIL PROTECTED]> wrote:
http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb
This outlines some wonderful things about how to hack your IRB configuration
file to do some totally awesome things, including

What a great trick. Thanks a lot for sharing.

Glad that you guys are finding it useful!

Unfortunately, Nicks blog post was not open for comments (or something else went wrong so I couldn't comment).

Sorry about that, I had comments closing after 10 days -- see no real reason to do that.  Would you mind trying again?

Cheers,
/Nick


_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general




--
"I am the most humble person in the world!"
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to