rails active_storage:install IS NOT WORKING

后端 未结 4 2088
无人及你
无人及你 2021-01-05 00:34

I have updated my rails api application from 5.1 to 5.2. I am using rails api only. I am trying to use the active storage. I think the problem is due to the line conf

4条回答
  •  轮回少年
    2021-01-05 00:55

    Having this in the config

    require "active_storage/engine"
    

    and running this

    bundle exec rails active_storage:install
    

    This worked for me. I updated from rails 5.1 to 6.0.2.1

提交回复
热议问题