Forum: Ruby on Rails Capistrano Error undefined method '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.
zdennis (Guest)
on 2006-03-09 04:22
(Received via mailing list)
I get an error after running Capistrano deploy...

zdennis@silver:~/source/projects/listedpropertiesllc.com$ rake deploy
(in /home/zdennis/source/projects/listedpropertiesllc.com)
     loading configuration
/usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
     loading configuration ./config/deploy.rb
   * executing task deploy
  ** transaction: start
   * executing task update_code
   * determining current_branch...
*** [update_code] transaction: rollback
   * [update_code] rolling back
   * executing "rm -rf /home/zdennis/myapp/releases/20060309021856"
     servers: ["10.0.4.254"]
SEnter password for /home/zdennis/.ssh/id_dsa:
Enter password for /home/zdennis/.ssh/id_dsa:
     [10.0.4.254] executing command
     command finished
rake aborted!
undefined method `local' for #<Capistrano::Configuration:0xb7405074>


I don't have any 'local' variables defined in y deploy.rb.... I am sure
this is something silly I am
doing wrong. Any ideas? Thanks,

Zach
Jamis B. (Guest)
on 2006-03-09 07:03
(Received via mailing list)
This is something I thought I had fixed, but apparently not. It
happens when using the CVS scm module.

The 'local' variable should default to '.', and is used to locate the
local copy of your project so that the current revision can be
determined. Just do:

   set :local, "."

in your deploy.rb, and you should be fine.

Sorry about that.

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