I have setup the mina to a new server on 1and1.fr Ubuntu 14.04 dedicated server, with rvm 1.26.4 and ruby 2.1.5, if I logged in as ubuntu user, I can run rvm successfully, but if I use mina setup, it tells me the following error message on not using interactive shell.
Is there anyway to mina using login shell by default? Or switch to login shell after logging in?
require 'mina/rvm'
set :user, 'ubuntu'
task :environment do
invoke :'rvm:use[ruby-2.1.5]'
end
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for an example.
I have setup the mina to a new server on
1and1.frUbuntu 14.04 dedicated server, withrvm 1.26.4andruby 2.1.5, if I logged in asubuntuuser, I can run rvm successfully, but if I usemina setup, it tells me the following error message on not using interactive shell.Is there anyway to
minausing login shell by default? Or switch to login shell after logging in?