Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mina deploy rvm_path

Having problem with Mina Deploy on Rails 4 app?

user$ mina deploy
[email protected]'s password:
-----> Using RVM environment 'ruby-2.1.0'
! Ruby Version Manager not found
! If RVM is installed, check your :rvm_path setting.
Connection closed.

 !     Command failed.
       Failed with status 256

1 Answers

Add the command below in your basic settings of deploy.rb file which will let mina find the rvm path. set :rvm_path, '/usr/local/rvm/scripts/rvm'

Then run mina deploy again.

like image 99
Eric Wu Avatar answered Feb 08 '26 02:02

Eric Wu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!