I'm trying to determine how I can set an alternative tmp directory for
cruise session files. My /tmp has filled up a few times now with
ruby_sess.ff20ec1c310b4a78 (and similar) files. I cleaned them all out
yesterday, and have another 532 of them today. 

I've tried a few things so far. I have a tmp/sessions directory within
cruise itself, but that is not being used. In config/environment.rb
there is this:

  # Use the database for sessions instead of the file system
  # (create the session table with 'rake db:sessions:create')
  # config.action_controller.session_store = :active_record_store

So I uncommented that line and tried to run a 'RAILS_ENV=production rake
db:sessions:create' as it says, but that tells me:

undefined method `connection' for ActiveRecord::Base:Class

I thought perhaps that was because there was no config/database.yml, so
I created a cruise database and setup a database.yml with the right
environment and permissions, but that didn't make that error go away.

I'd appreciate any suggestions of things to try!

micah

Attachment: pgpvz6g6lEY6g.pgp
Description: PGP signature

_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to