patrick
patrick

Reputation: 65

heroku rake migrate not working

I am just trying to simply do the following:

my@ubuntu-lappy:~/rails/app_soft$ heroku rake db:migrate
rake aborted!
Please install the  adapter: `gem install activerecord--adapter` (no such file to load -- active_record/connection_adapters/_adapter)

What am i doing wrong?

In the past I've successfully ran heroku rake db:migrate

gem list shows

activerecord (2.3.5, 2.2.2)

Upvotes: 0

Views: 1572

Answers (2)

Jerry Cheung
Jerry Cheung

Reputation: 1268

I had a similar problem, and suspected that is may be a problem with the instance you're currently on.

When I try to run "heroku info", it gives me an internal server error. It may have something to do with the heroku's database.yml referencing a bad value.

~~~
I heard back from david@heroku. Apparently my app was 'wedged', so the solution was to create it again. I'm still waiting to hear back on what 'wedged' means and how to destroy that stale app.
Other than that it's working for me.

Upvotes: 0

David Dollar
David Dollar

Reputation: 2409

This can happen if the app gets instantiated incorrectly. As a workaround you can rename the app to get it out of the way and create a new one. You'll likely need to open a support request to get the wedged app deleted.

Upvotes: 1

Related Questions