I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too
Short" error. I havent been able to repeat the error as it seems to
happen randomly in my rails program. However, the version of Ruby I''m
using already has the file.binmode lines outlined in:
http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort.
If possible I''d like to avoid switching to active record store since
this app does not currently use a DB. Any help/suggestions would be
greatly appreciated.
Thanks,
Eran
Error:
marshal data too short
c:/ruby/lib/ruby/1.8/pstore.rb:163:in `load''
c:/ruby/lib/ruby/1.8/pstore.rb:163:in `load''
c:/ruby/lib/ruby/1.8/pstore.rb:118:in `transaction''
c:/ruby/lib/ruby/1.8/cgi/session/pstore.rb:71:in `initialize''
c:/ruby/lib/ruby/1.8/cgi/session.rb:273:in `new''
c:/ruby/lib/ruby/1.8/cgi/session.rb:273:in `initialize''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_process.rb:111:in
`new''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-
1.12.1/lib/action_controller/cgi_process.rb:111:in `session''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_process.rb:107:in
`stale_session_check!''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-
1.12.1/lib/action_controller/cgi_process.rb:107:in `session''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:887:in
`assign_shortcuts_without_flash''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-
1.12.1/lib/action_controller/flash.rb:141:in `assign_shortcuts''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:375:in
`process_without_filters''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-
1.12.1/lib/action_controller/filters.rb:377:in
`process_without_session_management_support''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
`process''
c:/ruby/lib/ruby/gems/1.8/gems/rails- 1.1.2/lib/dispatcher.rb:38:in
`dispatch''
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:115:in
`handle_dispatch''
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:81:in
`service''
..."
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---