Recently, I get an error with the acts_as_taggable when my hosting server upgrades Rails to 2.0. It cannot find that gem on the environment.rb file. Normally, we write: require_gem 'acts_as_taggable'. The solution is to change from that code to require 'taggable'.
Then, I got another problem because my cron job is not working anymore. I try to fix this about a few hours and find the solution, but I don't know it is a wise solution for that or not. I open a file called 'runner' inside the script folder inside my rails application and then change one line from:
require File.dirname(__FILE__) + '/../config/boot'
to:
require File.dirname(__FILE__) + '/../config/enviornment'
No comments:
Post a Comment