###前提・実現したいこと
MySQLを使ってRailsアプリを作ろうとしています。Controllerファイルを作成するコマンドを行うと、以下のエラーメッセージが発生して困っています。
エラーが出るまでに行ったことは、
①railsアプリを作成 : rails 4.2.6 new linebot -d mysql
②Gemfileを修正 : gem 'mysql2', '>= 0.3.13', '< 0.5' → gem 'mysql2', '0.3.18'
gem 'sass-rails', '> 5.0' → gem 'sass-rails', '> 4.0.2'
③bundle update
④bundle install
###発生している問題・エラーメッセージ
上記の①〜④を行った後、rails g controller webhook を行うと下記エラーが出ます。
エラーメッセージ /Users/ユーザ名/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/connection_specification.rb:177:in `rescue in spec': Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError) 何が問題が教えていただけますでしょうか。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。