por que me sale error? Estoy haciendo el deploy para producion. gracias
database.yml
production:
adapter: mysql2
encoding: utf8
database: trabajo
username: root
password: 987654
host: localhost
port: 3306
rails db:create
**error **
rails aborted!
ActiveRecord::AdapterNotSpecified: 'development' database is not configured. Available: ["production"]
o
/home/administrador/.rvm/gems/ruby-2.3.1@rails5/gems/activerecord-5.1.4/lib/active_record/connection_adapters/connection_specification.rb:246:in `resolve_symbol_connection': 'development' database is not configured. Available: ["production"] (ActiveRecord::AdapterNotSpecified)
asi era antes
default: &default
adapter: sqlite3
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
development:
<<: *default
database: db/development.sqlite3
test:
<<: *default
database: db/test.sqlite3
production:
<<: *default
database: db/production.sqlite3