.irbrc on Windows
Posted by Nick Sieger Tue, 30 May 2006 16:57:00 GMT
Having trouble getting IRB to use a .irbrc file on Windows? The following seems to work:
- Create the .irbrc file in your
- Create an environment variable in the System Properties->Advanced Tab->Environment Variables area called
HOMEand set it to
An alternate approach is to create an environment variable called
IRBRC and set it to the full path of the .irbrc file.
Perhaps IRB should be updated to look in
%USERPROFILE% on Windows?
Plug: for handy .irbrc contents refer to this previous post.