Skip to content

Commit

Permalink
Merge pull request #428 from devvmh-forks/fix/rake-bug
Browse files Browse the repository at this point in the history
fix mina rake bug
  • Loading branch information
d4be4st authored Sep 17, 2016
2 parents 7e4227b + 24e52e7 commit f054ec9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/mina/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def check_for_changes_script(options)
puts %{You need to provide arguments. Try: mina "#{name}[#{example}]"}
exit 1
end
command %{cd "#{deploy_to!}/#{current_path!}" && #{fetch(name)} #{arguments}}
in_path "#{fetch(:current_path)}" do
command %(#{fetch(name)} #{arguments})
end
end
}

Expand Down

0 comments on commit f054ec9

Please # to comment.