1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Capistranoでassets:precompileとbundle:installの順序が逆?

Last updated at Posted at 2012-02-28

Rails3.1をCapistrano(2.11.2)でデプロイしようとして、assets:precompileをデプロイ先で動かそうと

Capfile
load 'deploy/assets'

を有効にしたところエラーとなった。bundle:installの前に bundle exec rake assets:precompileが動いているように見えるため、下記をdeploy.rbに書いたら解決した

deploy.rb
before "deploy:assets:precompile", "bundle:install"

capistrano(2.11.2)のバグと見た

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?