Are you sure that's the line that's causing the error? It looks to me like you have a bare render call somewhere, which used to work (in cap 1.x), but was removed in cap2.
Perhaps in your template you're trying to call <%= render(...) %>? That won't work, unless you define your own render method. - Jamis On Oct 14, 2008, at 9:30 AM, pierre wrote: > > Hello, > > I use the recipe for serving a maintenance page when deploying with > Capistrano from the book Advanced Recipes for Rails (Thanks to Mike > Clark). > > Everything use to work fine but one day the following line issue an > error : > > page = ERB.new(template).result(binding) > > /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/capistrano/ > configuration/namespaces.rb:188:in `method_missing': undefined method > `render' for #<Capistrano::Configuration::Namespaces::Namespace: > 0x181bff4> (NoMethodError) > > Has anyone any idea ? > Thanks ! > > Pierre > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
