HI
There are the few commands that i always run from irb.
require 'watir'
..........
Can i load it automatically for me to save keystrokes. I can precieve
froms docs that i can, but not able to figure it out well
Seede
HI
There are the few commands that i always run from irb.
require 'watir'
..........
Can i load it automatically for me to save keystrokes. I can precieve
froms docs that i can, but not able to figure it out well
Seede
junkone@rogers.com wrote:
HI
There are the few commands that i always run from irb.
require 'watir'
..........Can i load it automatically for me to save keystrokes. I can precieve
froms docs that i can, but not able to figure it out wellSeede
Put it in your .irbrc
HI
I read that file. I am not sure how to configure it. can u provide an
example.
appreciate ur help
Where is my .irbrc. I cannot see it in my conf nor is there a file with
such a name in my c:\Ruby
Seede
Timothy Hunter wrote:
junkone@rogers.com wrote:
> HI
> There are the few commands that i always run from irb.
> require 'watir'
> ..........
>
> Can i load it automatically for me to save keystrokes. I can precieve
> froms docs that i can, but not able to figure it out well
>
> Seede
>
>
>
Put it in your .irbrc
junkone@rogers.com wrote:
HI
I read that file. I am not sure how to configure it. can u provide an
example.
You can simply put any ruby code in there including "require" statements.
appreciate ur help
Where is my .irbrc. I cannot see it in my conf nor is there a file with
such a name in my c:\Ruby
It's in your home directory. Since you didn't give the OS and Ruby distribution I can't be more specific here.
Regards
robert
PS: Please don't top post.
Hi,
On windows you must have HOME environment variable defined. Irb startup file
must reside there.
To check your HOME variable open cmd.exe and write: echo %HOME%
To set you HOME variable: set HOME=somepath
--
Martins
On 8/2/06, Robert Klemme <shortcutter@googlemail.com> wrote:
junkone@rogers.com wrote:
> HI
> I read that file. I am not sure how to configure it. can u provide an
> example.You can simply put any ruby code in there including "require" statements.
> appreciate ur help
>
> Where is my .irbrc. I cannot see it in my conf nor is there a file with
> such a name in my c:\RubyIt's in your home directory. Since you didn't give the OS and Ruby
distribution I can't be more specific here.Regards
robert
PS: Please don't top post.
HI. I have a windows xp os and my ruby version is
ruby 1.8.4 (2006-04-14) [i386-mswin32]
Ruby is installed in c:\ruby
Robert Klemme wrote:
junkone@rogers.com wrote:
> HI
> I read that file. I am not sure how to configure it. can u provide an
> example.You can simply put any ruby code in there including "require" statements.
> appreciate ur help
>
> Where is my .irbrc. I cannot see it in my conf nor is there a file with
> such a name in my c:\RubyIt's in your home directory. Since you didn't give the OS and Ruby
distribution I can't be more specific here.Regards
robert
PS: Please don't top post.