mina-deploy/mina — pull request #220 by lucapette (2014-08-28 09:35:02+00:00)
Title: Make rails console task dependent on the environment

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`:

```ruby
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.