Thank you Rory! That was it. Funny how coding at 3am can cloud one's thought process.
-=Randy On Feb 8, 4:07 am, Rory Gibson <[email protected]> wrote: > Hi > > Having had a quick dig through the multistage source, it looks like > 'stage' is being used as a symbol. > Suggest you change the name of the environment 'stage' to something > else and try again. > > Regards > Rory > > On 8 February 2010 11:26, Randy in LA <[email protected]> wrote: > > > MacOSX 10.6.2 > > ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.2.0] > > rails: 2.3.2 > > Capistrano v2.5.14 > > Capistrano-ext v1.2.1 > > deploy.rb file:http://pastie.org/814446 > > config/deploy/env_1.rb file:http://pastie.org/814447 > > > I am trying to setup multiple deploy environments and have been > > pulling bits and pieces from many places; Advanced Rails Recipes, this > > google group, google etc. > > > I have placed environment-specific cap settings in individual config/ > > deploy/{env_name}.rb files (servers & :deploy_to) > > > I have set :stages, %w(env_1 env_2 stage prod) in my main deploy.rb as > > well as require 'capistrano/ext/multistage' at the end. > > > (see above for deploy.rb and env_1.rb pasties) > > > When I type: "cap env_1 deploy:check" I get the following: > > * executing `env_1' > > * executing `stage' > > * executing `stage' > > * executing `stage' > > * executing `stage' > > * executing `stage' > > * executing `stage' > > * executing `stage' > > > and on and on until this error: > > /usr/local/lib/ruby/gems/1.8/gems/capistrano-ext-1.2.1/lib/capistrano/ > > ext/multistage.rb:15: stack level too deep (SystemStackError) > > > I've looked all over for capistrano specific 'stack level too deep' > > errors and "executing `stage'" errors but can't find anything to point > > me in the right direction. Can someone lend a hand? > > > Thank you in advance! > > > -- > > * 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 > > athttp://groups.google.com/group/capistrano?hl=en -- * 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
