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

NoMethodError: undefined method `symfony_console' #112

Open
martijnhartlief opened this issue Nov 13, 2018 · 2 comments
Open

NoMethodError: undefined method `symfony_console' #112

martijnhartlief opened this issue Nov 13, 2018 · 2 comments

Comments

@martijnhartlief
Copy link

martijnhartlief commented Nov 13, 2018

When using:

namespace :deploy do
  task :migrate do
    on roles(:db) do
      symfony_console('doctrine:migrations:migrate', '--no-interaction')
    end
  end
end
@Nyholm
Copy link
Collaborator

Nyholm commented Nov 13, 2018

Interesting. I see that it is defined in https://github.com/capistrano/symfony/blob/2.0.0-alfa2/lib/capistrano/dsl/symfony.rb

I let someone with a bit more ruby knowledge answer this.

@martijnhartlief
Copy link
Author

Yes I see the symfony.rb file exists, and Symfony defines work for the base Capistrano functions. But when I try to use it in a rake file or in the deploy.rb, symfony_console is undefined.

Unfortunately, my ruby knowledge is not sufficient to figure out why this is happening.

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

2 participants