On Tuesday, May 14, 2013 11:27:55 AM UTC-4, John Merlino
wrote:>
> I was following these instructions for capistrano deployment:
>
> https://github.com/capistrano/capistrano/wiki/2.x-From-The-Beginning
>
> Under the section "Application Layer Initialization", it says:
>
> "We need to tell Capistrano how to “spin up” (start) our application
> layer. The precise way this works will vary depending on how you’re
> running your application layer. If you’re using mod_rails, for
> instance, it will be very different than if you’re using mongrel.
> Here, I’ll assume you’re using mongrel. By default, when Capistrano
> needs to start your application layer, it will try to execute a script
> called “spin”, in the “script” directory of your application, on each
> remote server. We’ll need to write that script, and then check it into
> the source repository."
>
> Well I''m using mod_rails/passenger. Do I need to be writing any
> scripts as it suggests when using mod_rails?
>
>
No. When you run capify . a default config/deploy.rb file is created. At
the bottom of that file is a section of code with the comment "If you are
using Passenger mod_rails uncomment this:".
remove the comment sign (#) at the beginning of the lines below that
starting with namespace and ending with end. That''s all you need to
do.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/cacf3afe-9831-4004-852f-839bf65f07f2%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.