You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to deprec - deployment recipes for capistrano
Hey there,
I'm just trying out deprec and I've installed all the latest gems and
I'm getting these 'method_missing' errors:
cap deprec:rails:install_stack
/Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/lib/
capistrano/configuration/namespaces.rb:188:in method_missing':
undefined local variable or method 'apt' for
#<Capistrano::Configuration::Namespaces::Namespace:0xca1304>
(NameError)
from /Users/Lance/Documents/Development/git/gems/gems/deprec-2.0.13/
lib/deprec/recipes/ruby/mri.rb:22
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/execution.rb:139:in `instance_eval'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/execution.rb:139:in
`invoke_task_directly_without_callbacks'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/namespaces.rb:186:in `send'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/namespaces.rb:186:in `method_missing'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/namespaces.rb:186:in `send'
... 23 levels...
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/cli/execute.rb:14:in `execute'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
bin/cap:4
from /usr/local/bin/cap:19:in `load'
from /usr/local/bin/cap:19
OR
cap deprec:ssh:setup_keys
triggering load callbacks
executing `deprec:connect_canonical_tasks'
/Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/lib/
capistrano/configuration/namespaces.rb:188:in method_missing':
undefined local variable or methoddeprec2' for
#<Capistrano::Configuration::Namespaces::Namespace:0x1a12448>
(NameError)
from /Users/Lance/Documents/Development/git/gems/gems/deprec-2.0.13/
lib/deprec/recipes/ssh.rb:81
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/execution.rb:140:in `instance_eval'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/execution.rb:140:in
`invoke_task_directly_without_callbacks'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/callbacks.rb:27:in `invoke_task_directly'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/execution.rb:89:in `execute_task'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/configuration/execution.rb:101:in
`find_and_execute_task'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/cli/execute.rb:45:in
`execute_requested_actions_without_help'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/cli/execute.rb:44:in `each'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/cli/execute.rb:44:in
`execute_requested_actions_without_help'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/cli/help.rb:19:in `execute_requested_actions'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/cli/execute.rb:33:in `execute!'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
lib/capistrano/cli/execute.rb:14:in `execute'
from /Users/Lance/Documents/Development/git/gems/gems/capistrano-2.5.8/
bin/cap:4
from /usr/local/bin/cap:19:in `load'
from /usr/local/bin/cap:19
Any ideas why this isn't working right? Thanks so much, this looks
like a great gem.
Lance
viatropos
unread,
Jul 14, 2009, 11:32:34 PM7/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to deprec - deployment recipes for capistrano
:) It was because I did "capify ." first a day ago, and "depify ."
didn't override them. I just removed the old files and ran it again
and it seems to be working fine.