Where does IRB go looking for .irbrc files on a windows system?
j.
Looks like
%HOME%/.irbrc [if there is an environment variable "HOME"]
.irbrc
irb.rc
_irbrc
$irbrc
It uses "load" to load it, so "load" tries each of the load path
directories for each of [.irbrc, irb.rc, _irbrc, $irbrc].
Hope that helps,
Jeff
···
On Fri, Oct 14, 2005 at 02:22:41AM +0900, Jeff Wood wrote:
Where does IRB go looking for .irbrc files on a windows system?
j.--
"http://ruby-lang.org -- do you ruby?"Jeff Wood
By default, there doesn't seem to be a "HOME" environment variable for
windows ...
That's why I'm asking... there's a lot of little goodies that I've added to
my .irbrc file on my linux systems that I'd like to get grooving under
windows ...
Guess I'll have to create that variable ...
Anybody else run into this???
j.
···
On 10/13/05, Jeffrey Dik <jeffrey.dik@myrealbox.com> wrote:
Looks like
%HOME%/.irbrc [if there is an environment variable "HOME"]
.irbrc
irb.rc
_irbrc
$irbrcIt uses "load" to load it, so "load" tries each of the load path
directories for each of [.irbrc, irb.rc, _irbrc, $irbrc].Hope that helps,
JeffOn Fri, Oct 14, 2005 at 02:22:41AM +0900, Jeff Wood wrote:
> Where does IRB go looking for .irbrc files on a windows system?
> j.
>
> --
> "http://ruby-lang.org -- do you ruby?"
>
> Jeff Wood
--
"http://ruby-lang.org -- do you ruby?"
Jeff Wood
Jeff Wood wrote:
By default, there doesn't seem to be a "HOME" environment variable
for windows ...That's why I'm asking... there's a lot of little goodies that I've
added to my .irbrc file on my linux systems that I'd like to get
grooving under windows ...
Nope, windows uses USERPROFILE (which usually is C:\Documents and Settings\%USERNAME% )
You could set HOME=%USERPROFILE% if irb is indeed looking for HOME on windows.
Cheers,
V.-
···
--
http://www.braveworld.net/riva
____________________________________________________________________
http://www.freemail.gr - äùñåÃà õðçñåóÃá çëåêôñïÃéêïý ôá÷õäñïìåÃïõ.
http://www.freemail.gr - free email service for the Greek-speaking.
Jeff Wood...
By default, there doesn't seem to be a "HOME" environment variable for
windows ...
I have it on all my machines. I don't know where it came from; I'd assumed
it was there by default. It's the same as USERPROFILE.
Care to share them? I've been looking for tips and tricks on
customising irb since I used ipython a while back, and haven't found
any sites that list any, other than getting completion working.
thanks,
···
On 10/13/05, Jeff Wood <jeff.darklight@gmail.com> wrote:
That's why I'm asking... there's a lot of little goodies that I've added to
my .irbrc file on my linux systems that I'd like to get grooving under
windows ...
--
Terje
Terje Tjervaag wrote:
···
On 10/13/05, Jeff Wood <jeff.darklight@gmail.com> wrote:
That's why I'm asking... there's a lot of little goodies that I've added to
my .irbrc file on my linux systems that I'd like to get grooving under
windows ...
Care to share them? I've been looking for tips and tricks on
customising irb since I used ipython a while back, and haven't found
any sites that list any, other than getting completion working.thanks,
--
Terje
you might be interested in http://rubygarden.org/ruby/ruby?VimXmp also.