“heroku run rake assets:clean” doesn't clean anything

前端 未结 2 716
情深已故
情深已故 2021-02-08 12:21

I execute

$ heroku run rake assets:clean
Running `rake assets:clean` attached to terminal... up, run.2
/usr/local/bin/ruby /app/vendor/bundle/ruby/1.9.1/bin/rak         


        
2条回答
  •  借酒劲吻你
    2021-02-08 12:35

    The rake assets:clean functionality has been replaced with

    rake assets:clobber
    

    in the latest version of Rails.

    https://github.com/rails/sprockets-rails/blob/master/README.md

提交回复
热议问题