Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execute seems to require roles (re: readme on security/keys) #75

Open
vcavallo opened this issue May 13, 2016 · 1 comment
Open

execute seems to require roles (re: readme on security/keys) #75

vcavallo opened this issue May 13, 2016 · 1 comment

Comments

@vcavallo
Copy link

This section of the readme:

namespace :app do
  task :update_rvm_key do
    execute :gpg, "--keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3"
  end
end
before "rvm1:install:rvm", "app:update_rvm_key"

Fails with NoMethodError: undefined methodexecute' for main:Object. Wrapping theexecute` line in

roles(:all) do
  execute :gpg, "--keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3"
end

appears to fix it.

@vcavallo
Copy link
Author

vcavallo commented May 13, 2016

i've now noticed this pull request #63 which is about the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant