Rails webpackerでerbを使うときにundefined method `image_pack_tag' for main:Object (NoMethodError)が発生した場合の解決方法 2020.02.06