前提・実現したいこと
ruby,bundler,ruby on railsをインストールした後にrails sを実行した際にエラーが出てサーバーが立ちあがらないので解決したいです。よろしくお願いします。
発生している問題・エラーメッセージ
rails sを実行した際に下記のエラーがでました。
エラーメッセージ Could not find gem 'sqlite3 x64-mingw32' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
試したこと
bundle install を行ったところ
~略~
extconf failed, exit code 1
Gem files will remain installed in
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sqlite3-1.4.0 for inspection.
Results logged to
C:/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/sqlite3-1.4.0/gem_make.out
An error occurred while installing sqlite3 (1.4.0), and Bundler cannot continue.
Make sure that gem install sqlite3 -v '1.4.0' --source 'https://rubygems.org/'
succeeds before bundling.
といったエラーが起こったのでGemfileでgem 'sqlite3', '~> 1.4'にした後gem install sqlite3を行ったところERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.
この後がわからない状態です。
補足情報(FW/ツールのバージョンなど)
Windows10 Home
ruby -v ⇒ ruby 2.5.3p105 (2018-10-18 revision 65156) [x64-mingw32]
bundle -v ⇒ Bundler version 2.0.1
railsの-vではエラーが出ていました。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/04/05 02:33 編集