Requirements: Perl, DBD::mysql installed (along with DBI and such), full access to the server via terminal and mysql database. YAML::Syck module isntalled (see search.cpan.org).
I screwed myself. I backed up 1.6 into a yaml file and for the life of me couldnt get 1.7 to import. ALL my work notes and task and project…*cold sweat*.. (i had done a complete system reinstall to ubuntu).
I did not make a mysql back…in any case, with the diff db structure i wouldve still had challenges.
I posted on the forum here my awkward and just plain “yuck” ruby/rails problem and each day that went by i felt lost b/c i had no notes and no reference to keep myself in order. Besides a slew of other problems in installing 1.7 on ubuntu 8.10 intrepid, i tackled this a diff way. Rather than wait for responses and more monkeying around, i just wrote a perl script.
Basically you just put the script where ever, edit it for your db settings and your yaml file path and let her rip. I’m making a lot of assumptions here and am giving NO warranties. Do this on a fresh database. I basically looked at a perl dump of the yaml from 1.6 and just made the script work.
Since i ran it and it worked from me, i made it generic…took out my personal info and a few other clean ups.
