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.
On Jan 20, 2:35 pm, sagar
<salap...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---