End of Iteration 7
Yes!! this was a 2 weeks iteration. Going forward, I am planning to have a 2 weeks iteration. With my marathon training , I am not able to spend much time in Varcasa.
Anyways this Iteration 7 was frustrating, but it ended in a good note. In this iteration I was mainly trying to deploy my iteration 6 code in production. I was having problems with acts_as_plugin.
Problem 1) My production hosting had a old version of acts_as_plugin gem.
Solution : I thought I could freeze acts_as_plugin in vendor directory, so I do not have to worry about gem version in production environment.
Problem 2) Rails by default doesn't come with a rake task to freeze third party gems
Solution: Found rake task in web that could do that.
Problem 3) Rake task for freezing third party gems did not work.
Solution: I got the latest code for acts_as_taggable from subversion and copied into my vendor/plugins folder
Problem 4) Still for some reason I was having problem in production environment, that I was not able replicate in my development environment.
Solution: Found that I was having "require_gem acts_as_taggable" in my environment.rb.So I deleted that line and I was able to reproduce that problem.
Production Problem : My Article class does not recognize "tag" method
Solution: Added "require acts_as_taggable" in top of my Article.rb
But in the end of iteration , I felt good that I was able to deploy in production.
Next Iteration:
-> Give more information what Varcasa is to users who want to register
-> Contact Us section
-> Fix some known issues
Anyways this Iteration 7 was frustrating, but it ended in a good note. In this iteration I was mainly trying to deploy my iteration 6 code in production. I was having problems with acts_as_plugin.
Problem 1) My production hosting had a old version of acts_as_plugin gem.
Solution : I thought I could freeze acts_as_plugin in vendor directory, so I do not have to worry about gem version in production environment.
Problem 2) Rails by default doesn't come with a rake task to freeze third party gems
Solution: Found rake task in web that could do that.
Problem 3) Rake task for freezing third party gems did not work.
Solution: I got the latest code for acts_as_taggable from subversion and copied into my vendor/plugins folder
Problem 4) Still for some reason I was having problem in production environment, that I was not able replicate in my development environment.
Solution: Found that I was having "require_gem acts_as_taggable" in my environment.rb.So I deleted that line and I was able to reproduce that problem.
Production Problem : My Article class does not recognize "tag" method
Solution: Added "require acts_as_taggable" in top of my Article.rb
But in the end of iteration , I felt good that I was able to deploy in production.
Next Iteration:
-> Give more information what Varcasa is to users who want to register
-> Contact Us section
-> Fix some known issues

0 Comments:
Post a Comment
<< Home