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

Make rails console task dependent on the environment #220

Merged
merged 1 commit into from
Jan 23, 2015
Merged

Make rails console task dependent on the environment #220

merged 1 commit into from
Jan 23, 2015

Conversation

lucapette
Copy link
Contributor

I'm not sure this is the right approach to solve the issue I run into it. Before executing the console task I need to load chruby (I guess using rvm or rbenv would present similar use case) and I've added the following to my config/deploy.rb:

task :console => :environment do
end

That looks like an ugly workaround to me. Is the suggested code a good approach or is there another way to solve this problem I'm missing?

thank you for working on this project.

d4be4st added a commit that referenced this pull request Jan 23, 2015
Make rails console task dependent on the environment
@d4be4st d4be4st merged commit 37a9f51 into mina-deploy:master Jan 23, 2015
@d4be4st
Copy link
Member

d4be4st commented Jan 23, 2015

I see no problem with this, merged

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

Successfully merging this pull request may close these issues.

2 participants