out of Time range (RangeError)

I am getting the following error message when starting WEBrick:

C:/ruby184-20/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ active_support/core_ext/numeric/time.rb:64:in `+': time + 946728000.000000 out of Time range (RangeError)         from C:/ruby184-20/lib/ruby/gems/1.8/gems/activesupport-1.3.1/ lib/active_support/core_ext/numeric/time.rb:64:in `from_now'         from ./script/../config/../config/environment.rb:55         from C:/ruby184-20/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require'         from C:/ruby184-20/lib/ruby/gems/1.8/gems/activesupport-1.3.1/ lib/active_support/dependencies.rb:147:in `require'         from C:/ruby184-20/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ commands/servers/webrick.rb:52         from C:/ruby184-20/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require'         from C:/ruby184-20/lib/ruby/gems/1.8/gems/activesupport-1.3.1/ lib/active_support/dependencies.rb:147:in `require'         from C:/ruby184-20/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ commands/server.rb:30         from C:/ruby184-20/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require'         from C:/ruby184-20/lib/ruby/gems/1.8/gems/activesupport-1.3.1/ lib/active_support/dependencies.rb:147:in `require'         from script/server:3

Please help!

I figured out what the problem is. It is caused by the following statement in the environment.rb file:

ActionController::Base.session_options[:session_expires] = 30.years.from_now

I changed 30 to 10 - that took care of the problem.