[#192] auto-loaded script? — Julian Fondren <julian@...>
Does ruby load any particular scripts upon startup?
13 messages
1999/01/17
[#193] Re: auto-loaded script?
— gotoken@... (GOTO Kentaro)
1999/01/17
In message "[ruby-talk:00192] auto-loaded script?"
[#194] Re: auto-loaded script?
— Julian Fondren <julian@...>
1999/01/18
> >Does ruby load any particular scripts upon startup?
[#195] Re: auto-loaded script?
— matz@... (Yukihiro Matsumoto)
1999/01/18
Hi.
[#197] Re: auto-loaded script?
— Julian Fondren <julian@...>
1999/01/18
> rb_load_file("/home/julian/.rubyrc"); /* this line added */
[#210] Get character with no wait — Gabriel <gabriel@...>
What is the best way to do a getc without waiting; so I can try to grab
8 messages
1999/01/25
[ruby-talk:00197] Re: auto-loaded script?
From:
Julian Fondren <julian@...>
Date:
1999-01-18 07:04:01 UTC
List:
ruby-talk #197
> rb_load_file("/home/julian/.rubyrc"); /* this line added */
With this line in, ruby doesn't compile. No errors or anything, nothing
seems wrong at all - except that at the end of make there is no `ruby'
binary. Also related is that I had it pointed to a ruby file in the
lib/ruby directory, in which it was to require a script in
ENV['HOME']/.rubyrc and during the compile there was an error that
the the path ENV['HOME']/.rubyrc resulted in (and this error gave the
exact path) did not exist - which it did. What is strange about this is
that the compile shouldn't have read the script, right? I thought the
above line told ruby to read /home/julian/.rubyrc upon ruby's starting up.
This isn't particularly important though, and I agree that ruby doesn't
need an init script.