If those are the only places...then I strongly suspect you've got something like this:
set :application, leaguesmart What you really want is: set :application, "leaguesmart" Note the quotes. Without those, the first leaguesmart reference is expected to resolve to a variable or method, which Capistrano is complaining about, because it doesn't exist. - Jamis On Oct 27, 2008, at 8:10 AM, chris wrote: > > The only places that the word leaguesmart exists in the deploy script > is for the :application and for the set :repository > "[EMAIL PROTECTED]". I have also done a search throughout the > project for the word leaguesmart, but cannot find any place that it > shouldn't exist. > > I checked the history for the deploy.rb file and it hasn't been > changed since the end of August. Is there some place else that could > be the problem? > > On Oct 26, 10:53 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: >> Looks like you're referencing a variable 'leaguesmart' without first >> declaring it? Just a guess, without having seen your deployment >> recipes. >> >> - Jamis >> >> On Oct 26, 2008, at 10:33 PM, chris wrote: >> >> >> >>> I am not sure why the deployment script is suddenly failing. >> >>> Here is what I get when I try to run the cap deploy cmd: >>> ========== >>> $ cap deploy >>> /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/capistrano/ >>> configuration/variables.rb:122:in `method_missing': undefined local >>> variable or method `leaguesmart' for #<Capistrano::Configuration: >>> 0x25760> (NameError) >>> from Capfile:1:in `load' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/capistrano/ >>> configuration/loading.rb:172:in `load_from_file' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/capistrano/ >>> configuration/loading.rb:89:in `load' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/capistrano/ >>> configuration/loading.rb:86:in `load' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/capistrano/ >>> configuration/loading.rb:86:in `each' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/capistrano/ >>> configuration/loading.rb:86:in `load' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/ >>> capistrano/cli/ >>> execute.rb:64:in `load_recipes' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/ >>> capistrano/cli/ >>> execute.rb:64:in `each' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/ >>> capistrano/cli/ >>> execute.rb:64:in `load_recipes' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/ >>> capistrano/cli/ >>> execute.rb:30:in `execute!' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/ >>> capistrano/cli/ >>> execute.rb:14:in `execute' >>> from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/bin/cap:4 >>> from /usr/bin/cap:19:in `load' >>> from /usr/bin/cap:19 >> >>> Any ideas to why this is happening? > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
