why environment.rb is useless?

Dear all,
I'm a newbie in ROR.

my environment:
ruby 1.8.5
rails 2.0.2
Lighttpd
scgi_rails 0.4.3
working in development model.

questions:
1. I made some changes to config/environment.rb, and restart
lighttpd, but the changes didn't take any effect. I then even change
RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
to
RAILS_GEM_VERSION = '8.0.2' unless defined? RAILS_GEM_VERSION
the application start as normal.
Finally, I deleted environment.rb, but the application runs as well!
What happened?

2. in the development model , I once deleted log/development.log
because it's too large. then, I made a new development.log file with
only a line. Strange thing is that, development.log then never change
any more.

Anyone can explain the above questions?
Thanks a lot!

Sounds like you're not running the code you thing you are running (in particular perhaps you didn't restart what is actually processing your rails requests ?)
How are you starting your rails app?

Fred

Thanks for your information.
I start my rails app using Lighttpd and scgi, as following:
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
ruby usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service
config/scgi.yaml
And this is the content of scgi.yaml:
:port: 9999
:password: brA4gP6Xahk.6
:logfile: log/scgi.log
:control_url: druby://127.0.0.1:8999
:config: config/scgi.yaml
:disable_signals: true
:env: development
:host: 127.0.0.1
I'm thinking maybe there's something wrong with scgi.

Thanks for your information.
I start my rails app using Lighttpd and scgi, as following:
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
ruby usr/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/bin/scgi_service

I know nothing about scgi, but I'd guess that the think you need to be
restarting is the scgi_service, not lighttpd

Fred