Hi there, I added Adam Greene''s S3 Rake script to my rails app. and it works great on my local box under development but after ''cap deploy'' on the production server it wont run saying, rake RAILS_ENV=production s3:backup:db --trace Don''t know how to build task ''s3:backup:db'' If I run locally "rake -T" the task gets displayed but if I do "rake - T" on the server the task wont show. I have the same rake versions on both machines (rake, version 0.7.3) and the same Rails versions 1.2.2 anybody knows what is wrong ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
William Pratt
2007-Sep-30 22:03 UTC
Re: S3 Rake - "Don''t know how to build task s3:backup:db"
I''m not familiar with S3, but is it a plugin? If so do you have config.plugins specified in production.rb and forget to include that plugin? I''m just taking a stab in the dark, but thought it might help. mano wrote:> Hi there, > > I added Adam Greene''s S3 Rake script to my rails app. and it works > great on my local box under development but after ''cap deploy'' on the > production server it wont run saying, > > rake RAILS_ENV=production s3:backup:db --trace > Don''t know how to build task ''s3:backup:db'' > > If I run locally "rake -T" the task gets displayed but if I do "rake - > T" on the server the task wont show. > > I have the same rake versions on both machines (rake, version 0.7.3) > and the same Rails versions 1.2.2 > > anybody knows what is wrong ? > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
thanks william, it is not a pluging, it is a .rake task under lib/tasks On Sep 30, 11:03 pm, William Pratt <bi...-YbheRAKfYF4eIZ0/mPfg9Q@public.gmane.org> wrote:> I''m not familiar with S3, but is it a plugin? If so do you have > config.plugins specified in production.rb and forget to include that > plugin? I''m just taking a stab in the dark, but thought it might help. > > > > > > mano wrote: > > Hi there, > > > I added Adam Greene''s S3 Rake script to my rails app. and it works > > great on my local box under development but after ''cap deploy'' on the > > production server it wont run saying, > > > rake RAILS_ENV=production s3:backup:db --trace > > Don''t know how to build task ''s3:backup:db'' > > > If I run locally "rake -T" the task gets displayed but if I do "rake - > > T" on the server the task wont show. > > > I have the same rake versions on both machines (rake, version 0.7.3) > > and the same Rails versions 1.2.2 > > > anybody knows what is wrong ?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
William Pratt
2007-Oct-01 15:58 UTC
Re: S3 Rake - "Don''t know how to build task s3:backup:db"
I assume that you checked that the task file was actually uploaded and that the permissions are fine? There is definitely nothing wrong with your syntax. mano wrote:> thanks william, > > it is not a pluging, it is a .rake task under lib/tasks > > On Sep 30, 11:03 pm, William Pratt <bi...-YbheRAKfYF4eIZ0/mPfg9Q@public.gmane.org> wrote: > >> I''m not familiar with S3, but is it a plugin? If so do you have >> config.plugins specified in production.rb and forget to include that >> plugin? I''m just taking a stab in the dark, but thought it might help. >> >> >> >> >> >> mano wrote: >> >>> Hi there, >>> >>> I added Adam Greene''s S3 Rake script to my rails app. and it works >>> great on my local box under development but after ''cap deploy'' on the >>> production server it wont run saying, >>> >>> rake RAILS_ENV=production s3:backup:db --trace >>> Don''t know how to build task ''s3:backup:db'' >>> >>> If I run locally "rake -T" the task gets displayed but if I do "rake - >>> T" on the server the task wont show. >>> >>> I have the same rake versions on both machines (rake, version 0.7.3) >>> and the same Rails versions 1.2.2 >>> >>> anybody knows what is wrong ? >>> > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---