LoginSignup
1

More than 5 years have passed since last update.

dotcloud で cd current した後 rake する

Posted at

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

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1