tommyd456
tommyd456

Reputation: 10673

Incorrect Rake Version

Total beginner when it comes to Rails - been using this guide to help get started: http://createdbypete.com/articles/ruby-on-rails-development-with-mac-os-x-mountain-lion/ and it all seems ok. I am wanting to use Postgresql but I'm having problems with my rake version.

When i try to create my database with:

rake db:create:all

...I'm getting the Rake aborted! message and telling me that i have activated 0.9.6 but my gemfile requires 10.1.0

I have found a few similar posts on here so I ended up trying:

bundle exec rake db:migrate

but this says the database does not exist - but that's what I'm trying to do in the first place.

Any ideas???

Upvotes: 1

Views: 99

Answers (1)

Thaha kp
Thaha kp

Reputation: 3709

can you try this:

bundle exec rake db:create:all

Then

bundle exec rake db:migrate

Upvotes: 1

Related Questions