[holy ruby programmers batman!] .irbrc for Windows Users
gilesb at gmail.com
Sat Dec 15 23:27:13 EST 2007
Hey Markus, hey Ben, thanks for this - it's in the README and live on the Web.
On 12/14/07, Markus Prinz <markus.prinz at qsig.org> wrote:
> On 14.12.2007, at 17:56, Ben Bleything wrote:
> > On Fri, Dec 14, 2007, Markus Prinz wrote:
> >> The Docs say that Windows Users are out of luck with regards to
> >> the .irbrc - this isn't true. Simply define an environment variable
> >> called IRBRC and set it to the full path of your irbrc (e.g. "C:
> >> \Documents and Settings\<username>\_irbrc"), and presto, .irbrc for
> >> Windows.
> > I don't even think you need to set the env var if you just call it
> > "irbrc" in your home dir. I could be wrong though, I haven't tried on
> > windows for a while.
> As far as I know that won't work because Windows doesn't set HOME by
> default. Setting it to e.g. "C:
> \Documents and Settings\<username>\" will work too, but if you've got
> MSYS or Cygwin running you'll likely run into problems, since they use
> the same variable for other purposes (unless you use the same path as
> they do).
> regards, Markus
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
More information about the Utilitybelt-tinkering