rake db:migrate is being aborted due to rake version difference
You want to use bundle exec
:
bundle exec rake db:migrate
Or, if you're using Rails 4 binstubs:
./bin/rake db:migrate
Error in bin/rake db:migrate
Running rake db:setup
is not the same as running all migrations, but uses your schema.rb
to rebuild the database, which still includes the todo_items
table.
Drop the database again with rake db:drop
, and run rake db:migrate
to only use the migrations in your migrate
directory.
Related Topics
Installing Libyaml for Ruby on a MAC Osx (Lion)
How to Specify a Read Timeout for a Net::Http::Post.New Request in Ruby 2
How to Get a List of Gems That Are Installed That Have Native Extensions
Get, or Calculate the Entropy of an Image with Ruby and Imagemagick
Many: 'Require': Cannot Load Such File -- "Gem_Name" (Loaderror) After Upgrade of Ruby/Rails
Ruby on Rails Activerecord Scopes VS Class Methods
Activeadmin Custom Views Which Retain the Activeadmin Layout
How to Shorten a Uuid to a Specific Length
Unicode Characters in a Ruby Script
How to Scrape Pages Which Have Lazy Loading
Ruby on Rails: Search Form - Multiple Search Fields
Rails 3.2.8 - How to Get the Week Number from Rails
Remove Double Quotes from String
Change String in a Date Format to Another Format
Ruby Gems Won't Load Even Though Installed
Error Installing Ruby 2.6.7 on MAC Os - How to Resolve
Error Installing Rubymine, No Sdk Specified, But It Is Listed