Re: Default IRB Directory



Can you be more specific what you try to achieve?
Irb is an interpreter console.
If you start it from the command prompt then the current directory
will be the working directory. It you start if from the some kind
shortcut then you can define the "Start in" or working directory.
But the key question still remains: what do you want to achieve?


On Jun 13, 7:04 am, Rpg Action <rpgact...@xxxxxxxxx> wrote:
I'm new to Ruby, and I've never used a similar language that could be
executed from the command line, so I'm pretty clueless in these first
couple of steps, and I hope that you'll help me here.

Is there a way under Windows that I can set the default IRB directory to
a specific folder? Right now the default is C:\, and I've no idea how to
go about changing it.

--
Posted viahttp://www.ruby-forum.com/.


.



Relevant Pages

  • Re: How to show the real directory instead of "~" (=HomeDir) in prompt pattern ?
    ... On Friday 02 June 2006 15:49, Stephen Neal stood up and spoke the ... following words to the masses in /comp.os.linux.misc...:/ ... I personallly use *\$PWD* in my command prompt. ... It displays the complete path to the working directory, ...
    (comp.os.linux.misc)
  • Re: Working Directory?
    ... > ADUC on the 'profiles' tab so I'm not sure why the working directory would ... Perhaps because the shortcuts for Command prompts are coded ... You could to just change all the command prompt ... Accelerated MCSE ...
    (microsoft.public.windows.server.active_directory)
  • Re: Executing a command in sub-shell
    ... After this point i should be into the command prompt and not execute ... Only when i type exit from the command prompt then i should go into ... Working directory view: ** NONE ** ... here the value of val1 is not printed ?? ...
    (comp.unix.shell)

Loading