error occurred while installing sqlite3 (1.3.13), and Bundler cannot
Rails環境構築中
このようなエラーが出た
An error occurred while installing sqlite3 (1.3.13), and Bundler cannot continue. Make sure that `gem install sqlite3 -v '1.3.13' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: sqlite3 Could not find gem 'sqlite3' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
なぜ?
$ sqlite3 --version // 3.7.17 2013-05-20 00:56:22 118a3b35693b134d56ebd780123b7fd6f1497668
sqlite3は入っているみたい。
結論から言うと devel をインストールしないとうまく動かない。
これはポスグレでのmySqlでも同じ。
よって
$ sudo yum install sqlite-devel
develというのは、依存関係をまとめて、インストールするもの。 これだけで
$bundle install
できるようになりました。 ありがとうです。