Rails: “Permission denied - /tmp/cache/assets/development/sprockets/…”?

前端 未结 3 1963
谎友^
谎友^ 2021-01-21 00:36

When I run a rails app and navigate with browser to them I get an error from rails:

Permission denied - /path/to/my_rails_app/tmp/cache/assets/devel         


        
3条回答
  •  失恋的感觉
    2021-01-21 01:04

    try this:

    rm -rf public/assets rake assets:clean RAILS_ENV=development

    chown -R nginx:nginx /www/rblpt/

提交回复
热议问题