質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Q&A

解決済

1回答

156閲覧

rails Gemに関して

inaba0327

総合スコア12

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

0グッド

0クリップ

投稿2019/07/02 11:26

編集2019/07/02 11:38

独学で勉強中で何回調べてもどこが問題なのかわかりません

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>'

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

自己解決

スペルミス
もっとエラー文に注目する事

投稿2019/07/02 11:39

inaba0327

総合スコア12

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問