dotcloud では run コマンドによるリモートコマンド実行が扱えますが
dotcloud run www 'cd current; rake foo'
のように実行しても、current ディレクトリで rake が存在しないと言われてしまいます。
そこで次のように実行しましょう。
echo 'cd current; rake foo' | dotcloud run www
うまく行ったと思います。
More than 5 years have passed since last update.
dotcloud では run コマンドによるリモートコマンド実行が扱えますが
dotcloud run www 'cd current; rake foo'
のように実行しても、current ディレクトリで rake が存在しないと言われてしまいます。
そこで次のように実行しましょう。
echo 'cd current; rake foo' | dotcloud run www
うまく行ったと思います。
Register as a new user and use Qiita more conveniently