Make sure all your ''require'' directives actually exist on the
build
server.
If one of the .rake files can''t load a required file (e.g. a gem)
then it won''t actually get parsed properly by rake but you
won''t see
a failure message either. It just gets quietly dumped.
-christos
On Jul 30, 2007, at 7:32 PM, Jim Shtinkwater wrote:
>
> I''ve written a custom task named update_fbml.rake as follows:
> namespace :remote do
> task :update_fbml => :environment do
> require "application"
> controller = ApplicationController.new
> controller.mass_update_fbml
> # `script/runner "require #{RAILS_ROOT}/app/controllers/
> application;
> ApplicationController.do_stuff"`
> end
> end
>
> This executes on my local machine but when I deploy to my build server
> and type ''rake remote:update_fbml'' it fails with
"Don''t know how to
> build task ''remote:update_fbml''".
>
> Any suggestions?
> --
> Posted via http://www.ruby-forum.com/.
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---