LoginSignup
6
6

More than 5 years have passed since last update.

sprockets 3.0.xに上げたらcapistranoのデプロイで失敗するようになった

Last updated at Posted at 2015-04-28

Rails 4.2.1にアップデートした直後で、環境はこんな感じ:

  • sprockets 3.0.1
  • sprockets-rails 2.2.4
  • capistrano-rails 1.1.1

このとき次のようにdeploy:assets:backup_manifestで失敗するようになった:

Tasks: TOP => deploy:assets:backup_manifest
(See full trace by running task with --trace)
The deploy has failed with an error: #<SSHKit::Runner::ExecuteError: Exception while executing on host xxx.xxx.xxx.xxx: cp exit status: 1
cp stdout: Nothing written
cp stderr: cannot stat `/path/to/releases/2015xxxxxxxxxx/public/assets/manifest*'
No such file or directory

sprockets側でmanifestのファイル名が変わったのが原因らしく、capistrano-rails 1.1.3で対応がされていたので、そちらに上げたら直った。

参考

6
6
0

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
6
6