[Rails] Re: Capistrano Config Issue
Thanks guys now that I understand that. I have things setup oddly
because I dont think the SSH part happens during my capistrano
deploys.
I can use git on the development box to commit, add, push changes to
my github account, etc fine.
I can use git on the production server to clone, and pull the changes
from the github account fine.
I think that something goes wrong when my Windows dev box tries to ssh
into my production server running linux mint.
I think this comes down to a windows issue with using ssh with the
Rubystack environment to handle Capistrano deploys. I will check the
forums again to see if I missed something.
On another note, when i use git clone to pull the latest changes, i
can go to that directory and in terminal hit "ruby script/server" and
it starts a webrick server on a different port than what I specified
via passenger. Anyone have any thoughts on this?
On Sep 16, 8:03 am, radhames brito <rbri...@gmail.com> wrote:
> You should be doing the pushing manually and capistrano the pulling from the
> repository, i dont let cap push.
>
> On Wed, Sep 15, 2010 at 4:45 PM, Marnen Laibow-Koser
> <li...@ruby-forum.com>wrote:
>
> > Xenio wrote:
> > [...
> > > My understand was that Capistrano takes the files from my dev box,
> > > puts it on my github account, then has the production server pull the
> > > files from the gthub account. Is this correct?
>
> > You can certainly use Cap any way you like, but this is a strange
> > workflow. In particular, Cap shouldn't be pushing your code to GitHub
> > -- that's simply a version control task that has nothing to with
> > deployment. It should only be pulling the code to the production server
> > and doing other setup tasks on the production box.
>
> > Best,
> > --
> > Marnen Laibow-Koser
> >http://www.marnen.org
> > mar...@marnen.org
>
> > Sent from my iPhone
> > --
> > Posted viahttp://www.ruby-forum.com/.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruby on Rails: Talk" group.
> > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rubyonrails-talk+unsubscribe@googlegroups.com<rubyonrails-talk%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rubyonrails-talk?hl=en.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home