Hi Jürgen, A little detail, next time don't include your pastie URL inside a script tag. You just write/share the link.
Thanks 2013/10/13 Jürgen Coetsiers <[email protected]> > I am trying to use the application name as a part of the vhostname. > > Somehow I do not have access to it in the staging.rb > > cap staging deploy:config_vhost > cap aborted! > undefined local variable or method `application' for main:Object > config/deploy.rb:25:in `block (2 levels) in <top (required)>' > /Users/jurgenc/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-3.0.0/lib/capistrano/application.rb:12:in > `run' > /Users/jurgenc/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-3.0.0/bin/cap:3:in > `<top (required)>' > Tasks: TOP => deploy:config_vhost > (See full trace by running task with --trace) > > <script src='http://pastie.org/8399717.js'> > </script> > > > -- > -- > * 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 > --- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- * 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 --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
