mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.35k stars 491 forks source link

rvm:use not working in Mina 1.0.6 #555

Closed DaniG2k closed 7 years ago

DaniG2k commented 7 years ago

Hello, In my config/deploy.rb I have the following directive:

task :environment do
  invoke :'rvm:use', 'ruby-2.4.1@global'
end

When I run mina setup I get the error:

mina aborted!
Don't know how to build task 'rvm:use'

I've also tried with:

task :environment do
  invoke :'rvm:use', 'ruby-2.4.1'
end

But get the same error.

This is a brand new install so I am not doing anything fancy. Not sure what is causing this problem. Is this a bug?

Thanks in advance

DaniG2k commented 7 years ago

My bad! I was missing require 'mina/rvm' at the top of the file. Closing this.