Making of Varcasa.com

Friday, August 04, 2006

End of Iteration 4

In this iteration was mainly working on getting rid of categories and using Tags. As I have mentioned in my previous post, I am using acts_as_taggable plugin. I thought I will be done this iteration, but I faced some problems with acts_as_taggable plugin (gem)

1) I installed acts_as_taggable as a plugin. RDoc of acts_as_taggable was having many methods that were not present in plugin code. After investigating I found plugin was installing a very old version of acts_as_plugin. Even after tryin to update the plugin it was still the same.
2) After checking in rubyforge I found out that they are exposing acts_as_plugin as a gem. So I installed the gem in my system. I checked the code and it was latest having all the methods I was expecting.
3) So I unfreezed my rails and freezed rails again. I was expecting all the gems in my local to be freezed. I found it was freezing only gems that rails was dependent on. I was looking is there anyway I could change gem spec for rails to make it dependent on acts_as_plugin gem in vain.
4) Then after googling , I found out that there are many others are tryin to freeze third party gems. I feel this task should be added as part of default rake file.

0 Comments:

Post a Comment

<< Home