Page updated to read: However this is a nice use-case for the server() method, as you could simply > write
server "example.com", :web, :app -- Lee Hambley Twitter: @leehambley | @capistranorb Please consider the environment before printing this email Join the campaign at http://thinkBeforePrinting.org On 22 March 2010 14:41, Tom Copeland <[email protected]> wrote: > Hi all - > > I tried the "server" method as suggested here: > > http://wiki.github.com/capistrano/capistrano/roles > > e.g., > > server 'foo.com', [:app, :web, :db], :primary => true > > But for me that results in: > > ====== > $ cap -V && cap deploy:setup > Capistrano v2.5.18 > /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/configuration/roles.rb:47:in > `role': undefined method `to_sym' for [:app, :web, :db]:Array > (NoMethodError) > from > /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/configuration/roles.rb:69:in > `server' > from > /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/configuration/roles.rb:69:in > `each' > ====== > > Any ideas? > > Thanks, > > Tom > > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected]<capistrano%[email protected]>For > more options, visit this group at > http://groups.google.com/group/capistrano?hl=en > > To unsubscribe from this group, send email to capistrano+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en To unsubscribe from this group, send email to capistrano+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
