前提・実現したいこと
エラーの解決
発生している問題・エラーメッセージ
ActiveRecord::ConnectionNotEstablished No connection pool with 'primary' found.
該当のソースコード
ruby
1C:\jack\bottle>rails s 2C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bootstrap-sass-3.3.7/lib/bootstrap-sass/version.rb:2: warning: already initialized constant Bootstrap::VERSION 3C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bootstrap-4.0.0/lib/bootstrap/version.rb:2: warning: previous definition of VERSION was here 4C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bootstrap-sass-3.3.7/lib/bootstrap-sass/version.rb:3: warning: already initialized constant Bootstrap::BOOTSTRAP_SHA 5C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bootstrap-4.0.0/lib/bootstrap/version.rb:3: warning: previous definition of BOOTSTRAP_SHA was here 6=> Booting Puma 7=> Rails 5.2.0 application starting in development 8=> Run `rails server -h` for more startup options 9 Please add the following to your Gemfile to avoid polling for changes: 10 gem 'wdm', '>= 0.1.0' if Gem.win_platform? 11 Please add the following to your Gemfile to avoid polling for changes: 12 gem 'wdm', '>= 0.1.0' if Gem.win_platform? 13*** SIGUSR2 not implemented, signal based restart unavailable! 14*** SIGUSR1 not implemented, signal based restart unavailable! 15*** SIGHUP not implemented, signal based logs reopening unavailable! 16Puma starting in single mode... 17* Version 3.11.4 (ruby 2.4.4-p296), codename: Love Song 18* Min threads: 5, max threads: 5 19* Environment: development 20* Listening on tcp://0.0.0.0:3000 21Use Ctrl-C to stop 22
試したこと
ここに問題に対して試したことを記載して
補足情報(FW/ツールのバージョンなど)
練習用ファイルでは
yay! you are on rails.
となっていました。
あなたの回答
tips
プレビュー