I have an app that I tried to update from 0.6.7 to 0.6.9 and have run
couple of problems.
It started a bit like this. I ran “rake radiant:update” which seemed to
complete successfully. But when I tried to “rake db:migrate” I was
with the error:
undefined method `’ for #Enumerable::Enumerator:0x2329874
So I searched around and saw what looked like a cure here (11th
Then I ran “rake db:migrate” the migration died when it got to the
table with this error:
== 16 AddSessions: migrating
Mysql::Error: Table ‘sessions’ already exists: CREATE TABLE
int(11) DEFAULT NULL auto_increment PRIMARY KEY,
data text DEFAULT NULL,
updated_at datetime DEFAULT
(See full trace by running task with --trace)
So I truncated the sessions table and the rake task completed
After that, “script/server” started the application with no problem. But
discovered a new problem, my database had been wiped clean during the
process, so when I tried viewing the site at 127.0.0.1:3000 I was
with a login screen.
I would really appreciate it if anybody who has run into similar
could describe what they did to get through all this.
Rails 2.2.2, 2.1.2 (tried both)
Wine Pairing Widget (custom extension)
On OSX 10.5, but the application originated in Ubuntu and was lovingly
transferred over to the mac. Everything worked perfectly when it was
on radiant 0.6.7 in both OSX and Ubuntu.