irb configuration settings

Discussion in 'Ruby' started by Chuck Brotman, Jul 3, 2005.

  1. In IRB tips and tricks on rubygarden.org we are instructed to add some
    rubycode "to your ~/.irbc:".

    I searched my Harddrive and could find no file of that name nor directory ~,
    nor an ".irb.hist". I'm confused!
    What concept am I missing here?? Don't know if it matters, but I'm running
    on WinXP.


    TIA,
    Chuck
     
    Chuck Brotman, Jul 3, 2005
    #1
    1. Advertising

  2. On 7/3/05, Chuck Brotman <> wrote:
    > In IRB tips and tricks on rubygarden.org we are instructed to add some
    > rubycode "to your ~/.irbc:".
    >=20
    > I searched my Harddrive and could find no file of that name nor directory=

    ~,
    > nor an ".irb.hist". I'm confused!
    > What concept am I missing here?? Don't know if it matters, but I'm runn=

    ing
    > on WinXP.
    >=20


    '~' is a synonym for $HOME in Unix(maybe shells?). $HOME is same as
    %HOMEPATH% in Windows. But you can't create any filename starts with
    '.' in explorer shell. So, open command prompt, cd %HOMEPATH%, and
    rename it to .irbrc or 'copy con .irbrc'.

    --=20
    http://nohmad.sub-port.net
     
    Gyoung-Yoon Noh, Jul 3, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Siegfried Heintze
    Replies:
    0
    Views:
    2,281
    Siegfried Heintze
    Oct 24, 2005
  2. donet programmer
    Replies:
    3
    Views:
    1,554
    Gregory A. Beamer
    Nov 20, 2009
  3. Sam Stephenson
    Replies:
    1
    Views:
    229
    Andrew Walrond
    Jun 18, 2005
  4. Replies:
    1
    Views:
    162
    Florian GroƟ
    Oct 26, 2005
  5. anne001
    Replies:
    1
    Views:
    277
    anne001
    Jun 27, 2006
Loading...

Share This Page