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. Advertisements

  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. Advertisements

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,767
    Siegfried Heintze
    Oct 24, 2005
  2. leeanne
    Replies:
    0
    Views:
    2,128
    leeanne
    Sep 24, 2008
  3. donet programmer
    Replies:
    3
    Views:
    2,084
    Gregory A. Beamer
    Nov 20, 2009
  4. Sam Stephenson
    Replies:
    1
    Views:
    419
    Andrew Walrond
    Jun 18, 2005
  5. Replies:
    1
    Views:
    298
    Florian GroƟ
    Oct 26, 2005
  6. anne001
    Replies:
    1
    Views:
    433
    anne001
    Jun 27, 2006
  7. Pierre Barbier de Reuille

    Can't get irb to read its configuration file

    Pierre Barbier de Reuille, Sep 9, 2006, in forum: Ruby
    Replies:
    2
    Views:
    181
    Pierre Barbier de Reuille
    Sep 9, 2006
  8. Rob Coeur

    irb dyamic prompt configuration

    Rob Coeur, Feb 20, 2007, in forum: Ruby
    Replies:
    1
    Views:
    166
    Marcello Barnaba
    Feb 20, 2007
Loading...