“Migrations are pending; run ‘bin/rake db:migrate RAILS_ENV=development’ to resolve this issue.”

To solve this issue on Rails 4.

Warning! You will lose your existing data.

      rm -f db/*.sqlite3
      rake db:create
      RAILS_ENV=development rake db:migrate
      rails s -e development

For more discuession about this errror :

http://stackoverflow.com/questions/21309901/getting-migrations-are-pending-run-bin-rake-dbmigrate-rails-env-development

 

Special Thanks to: http://stackoverflow.com/users/3209399/lewstherin

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s