-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Tsutomu Kuroda edited this page Jan 13, 2017
·
11 revisions
Modify Gemfile
gem 'rails', '5.0.1'
$ bin/rake db:setup
Database 'db/development.sqlite3' already exists
Database 'db/test.sqlite3' already exists
rake aborted!
ActiveRecord::NoEnvironmentInSchemaError:
Environment data not found in the schema. To resolve this issue, run:
bin/rails db:environment:set RAILS_ENV=development
Tasks: TOP => db:schema:load => db:check_protected_environments
(See full trace by running task with --trace)
$ bin/rails db:environment:set RAILS_ENV=development