I am new to RAILS and RUBY. I am trying to create a demo project to practice. When I was trying to configure my mysql database with RAILS, I got following error:
C:\Sites\simple_cms>rake db:schema:dump
rake aborted!
ActiveRecord::AdapterNotSpecified: 'development' database is not configured.
Available: ["default", "adapter", "pool", "timeout", "database", "username",
"password", "host"]
Tasks: TOP => db:schema:dump => db:load_config
(See full trace by running task with --trace)
Below is my database.yml file content
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: mysql
pool: 5
timeout: 5000
database: simple_cms_development
username: dumdum
password: dumdum
host: localhost
development:
<<: *default
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *default
database: db/test.sqlite3
production:
<<: *default
database: db/production.sqlite3
I tried searching online but got no clear help. I am running RAILS on WINDOWS 10