Forum: Ruby on Rails switchtower, CVS, and 'configuration.local'

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Kelly F. (Guest)
on 2006-02-18 01:34
(Received via mailing list)
I'm trying to get switchtower to work with CVS.

I see "querying latest revision..." and then it states "[update_code]
transaction: rollback"

I'm open to any and all suggestions at this point.

I put some logging statements in the switchtower code and it seems to
fail
at this statement in switchtower-0.10.0/lib/switchtower/scm/cvs.rb

@latest_revision = cvs_log(configuration.local).

I can't find 'configuration.local' anywhere.

Where is configuration local defined?
Jamis B. (Guest)
on 2006-02-19 05:20
(Received via mailing list)
Kelly,

Try setting the :local variable to be the path to the local checkout
of your code (perhaps just "."):

   set :local, "."

That is used for telling ST where to look for your project locally.
It should be defaulting to ".", but apparently it is not. I'll fix it
to make sure it defaults to ".".

- Jamis
This topic is locked and can not be replied to.