独学で勉強中で何回調べてもどこが問題なのかわかりません
bundle installしてからimage_idカラムの追加の途中段階でつまずいています。
rails g migration AddImageIdToPosts image_id:string
/var/lib/gems/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require': cannot load such file -- relile/rails (LoadError) from /var/lib/gems/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in
block in require_with_bootsnap_lfi'
from /var/lib/gems/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in register' from /var/lib/gems/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in
require_with_bootsnap_lfi'
from /var/lib/gems/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:40:in rescue in require' from /var/lib/gems/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:26:in
require'
from /var/lib/gems/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:81:in block (2 levels) in require' from /var/lib/gems/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in
each'
from /var/lib/gems/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:76:in block in require' from /var/lib/gems/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in
each'
from /var/lib/gems/2.5.0/gems/bundler-2.0.2/lib/bundler/runtime.rb:65:in require' from /var/lib/gems/2.5.0/gems/bundler-2.0.2/lib/bundler.rb:114:in
require'
from /vagrant/sample_app/config/application.rb:7:in <top (required)>' from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/application.rb:92:in
require'
from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/application.rb:92:in preload' from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/application.rb:157:in
serve'
from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/application.rb:145:in block in run' from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/application.rb:139:in
loop'
from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/application.rb:139:in run' from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/application/boot.rb:19:in
<top (required)>'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
require'
from -e:1:in `<main>'
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。