Upgrading to Typo 4.0
Typo 4.0 is out with a gem installer which they claim will be easily setup, as easily as running gem install.
Too bad this is not so for my case, firstly when i tried to install it by running ‘gem install typo’ it askss few questions like to install the mongrel dependency. Well, being a lazy installer I just followed suit to all yes
Then it comes to a point where it asked to install sqlite3-ruby gem, there my typo installation stuck!. Checked the typo site, it mentioned default database is SQLite, damn… so I have to install it if I want to use typo… but wat the heck?! I am not using SQlite!!!.
At first I thought don’t have SQLite installed on my server, after I rpm checked, I do have it installed, and why sqllite3-ruby complaints and cant be installed? after checking it was because sqllite3.h was not in the server, maybe i have to install some sqllite-devel packages watsoever… but i decided not to install SQLlite its 12PM alreadyy!! and I am damn sleepy
So, at the end I tried something simpler and thankfully it does work. Here’s what I did to upgrade:
1. Download typo source files (typo-4.0.0.tgz) from rubyforge
2. Extract the downloaded typo
3. rename my old typo directory (mv typo typo-old)
4. rename new typo to typo, this is wat i have in my httpd config. (mv typo-4.0.0 typo)
5. Copy old database config to new typo (copy config/database.yml to new typo config dir)
6. run rake migrate from the new typo directory (rake migrate RAILS_ENV=”production”)
7. then finally i moved my custom themes to the new typo installation directory
So here it goes, Typo 4.0!!
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments
No comments yet.
Sorry, the comment form is closed at this time.