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

In This Thread