Hi, when I start the app locally, I get this error. Can you help me understand what format of data should be in the config/database.yml file? I don't see one checked into the repo. Thanks!
➜ sinatra-blog git:(master) ✗ ruby app.rb
/Users/me/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:120:in `require': Could not load 'active_record/connection_adapters/sqlite_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile. (LoadError)
I am using ruby 2.4.1 instead of 1.9.3 as specified in the Gemfile because I get exceptions from rvm when I try to install 1.9.3 on my system.
ruby-1.9.3-p551 - #configuring - please wait
Error running './configure --prefix=/Users/me/.rvm/rubies/ruby-1.9.3-p551 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --disable-install-doc --enable-shared',
please read /Users/me/.rvm/log/1507826206_ruby-1.9.3-p551/configure.log
There has been an error while running configure. Halting the installation.
➜ sinatra-blog git:(master) ✗