This list is dedicated to Prototype and Scriptaculous, if
you want
help with Rails per se, you might be better off asking in
http://gro
ups.google.com/group/rubyonrails
That aside, it seems that, as you suppose, your problem lies
with
conflicting rails versions. Maybe your hosting has upgraded
the rails
gem to 2.0?
You should always make sure to have the version of rails you
use for
development frozen in ROOT/vendor/rails. To do this, go to
your
application root in your development box and 'rake
rails:freeze:gems'
and then redeploy the code. That will copy the rails gems
you have in
your dev box into the vendor/rails directory, which takes
precedence
over the system gems.
Good luck
-Nicolas
On Dec 16, 2007 4:30 AM, Gcompany <saurabh.a.bhatia gmail.com> wrote:
>
> Hi All,
>
> I am stuck in a rake migrate here, can any one help
me?
>
> Here's how the problem goes;
> we added a new table in the application,our rake broke
when we
> migrated the new tables. We got the following error:
>
> oepfo trex [~/railsapp/config]# rake db:migrate
> (in /home/coepfo/railsapp)
>
>
************************************************************
*****
> * config.breakpoint_server has been deprecated and
has no effect.
> *
>
************************************************************
*****
>
> rake aborted!
> undefined method `template_root' for
ActionController::Base:Class
>
> We figured out the difference in rails version but we
are not able to
> figure out the problem.
>
> We are deploying the application in the production
environment
>
> Thanks
>
> Saurabh
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|