Problem changing cookie expiration

I'm trying to set the cookie expiration in my environment.rb file but I
keep getting a syntax error on WeBRICK startup. I'm trying both of the
ways listed in
http://wiki.rubyonrails.org/rails/pages/HowtoChangeSessionOptions. FYI
I'm new to rails so this is probably easy.

1) ActionController::Base.session_options[:session_expires] =
Time.local(2008,"jan"))

or

2) config.action_controller.session :session_expires =>
Time.local(2008,"jan"))

but either way I keep getting the following syntax error:

=> Booting WEBrick...
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': ./script/../config/../config/env
ironment.rb:61: syntax error (SyntaxError)
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
        from
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/servers/webrick.rb:52
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
        from
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/server.rb:30
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
        from script/server:3

Any ideas why??

Thanks,
Chad

Oops looks like the Time function was throwing the error.