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

Failed with status 1 #530

Closed
wenesk opened this issue Mar 24, 2017 · 2 comments
Closed

Failed with status 1 #530

wenesk opened this issue Mar 24, 2017 · 2 comments

Comments

@wenesk
Copy link

wenesk commented Mar 24, 2017

Hi,

I've used mina for 2 years and working great. Yesterday I added a new server (in a same deploy.rb file) but stuck with this error:

Command failed.
Failed with status 1 (1)

I checked with -S command and looks like it about rvm stuff and I event tried commands from simulation directly and it works.

my task environments:

task :environment do
  invoke :'rvm:use[ruby-2.3.1@default]'
end

commands from -S:

source $HOME/.rvm/scripts/rvm
rvm use "ruby-2.3.1@default" --create || exit 1 

Can someone guide me what should i check on the server?

thanks

note: I use mina v0.3.6

@wenesk
Copy link
Author

wenesk commented Mar 24, 2017

Update: I use the latest mina 1.0.6 and use the new deploy.rb and it works. But then I need to refactor all my old deploy.rb to match with the new mina config.

Is there any workaround to solve my previous problem (v0.3.6) without upgrading to v1.0.6?

@wenesk
Copy link
Author

wenesk commented Mar 24, 2017

Update: Updating mina to v0.3.8 is enough.

@wenesk wenesk closed this as completed Mar 24, 2017
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

No branches or pull requests

1 participant