Plugin errors

Discussion in 'Ruby' started by Rajkumar Surabhi, May 21, 2010.

  1. HI,

    in my applicaition i want to use automatic sesssion cleaning.
    i followed the website

    http://agilewebdevelopment.com/plugins/limited_sessions


    I have download this plugin, then configured session life time in
    environment.rb like

    CGI::Session::ActiveRecordStore::Session.recent_activity_limit =
    2.hours. finally i have started my server while i am getting following
    error
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:478:in
    `const_missing': uninitialized constant CGI::Session (NameError)

    from
    /home/manivannan/july1/GenuineTravelsTesting/config/environment.rb:52
    from
    /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in
    `run'
    from
    /home/manivannan/july1/GenuineTravelsTesting/config/environment.rb:17
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
    `gem_original_require'
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
    `require'
    from
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
    `require'
    from
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
    `new_constants_in'
    from
    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
    `require'


    how to solve this
    --
    Posted via http://www.ruby-forum.com/.
    Rajkumar Surabhi, May 21, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Goldin

    Errors, errors, errors

    Mark Goldin, Jan 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    938
    Mark Goldin
    Jan 17, 2004
  2. PilotYid
    Replies:
    1
    Views:
    620
    Andrew Thompson
    Oct 31, 2005
  3. Marcin Cenkier
    Replies:
    1
    Views:
    5,406
    Marcin Cenkier
    Apr 12, 2006
  4. Jimmy
    Replies:
    0
    Views:
    501
    Jimmy
    Mar 15, 2007
  5. Replies:
    1
    Views:
    720
Loading...

Share This Page