Anyone got any ideas on this?
I'm following the guide on the capistrano site:
http://www.capify.org/index.php/From_The_Beginning

But I am now using passenger instead of the spin script.
So my deploy.rb is this http://pastie.org/842054 with the bottom part
uncommented.

But it is still not copying the images/stylesheets/javascripts to
where it wants them.
Giving the same output: http://pastie.org/839203

If I do need a symlink to achieve this can someone suggest one?

Regards,

Colin

On Feb 25, 3:01 pm, Colin <[email protected]> wrote:
> Yes, the files are in my repository.
> And they get copied to the server to (pathTo/rails/current/
> MyApp/public/stylesheets).
>
> I was just following the beginners guide so I figured it was going to
> put everything where it needed to be.
>
> Can you suggest how I would get them where capistrano wants them?
>
> Thanks,
>
> Colin
>
> On Feb 25, 2:55 pm, "Rafael G." <[email protected]> wrote:
>
>
>
> > Capistrano don't move/copy nothing by default, it generates symlinks
> > between previous/latest release and current. When you want "move" files
> > between releases you should write a task that make symlinks.
>
> > Then I have a question, are these files in your repository?
>
> > Colin wrote:
> > > Here you go:http://pastie.org/842054
>
> > > On Feb 25, 8:42 am, "Rafael G." <[email protected]> wrote:
>
> > >> Please, could you paste your deploy.rb in some place(gist,pastie,...)?
>
> > >> Colin wrote:
>
> > >>> Yes.
>
> > >>> The stylesheets etc. are being copied over to pathTo/rails/current/
> > >>> MyApp/public/stylesheets (which is where they are in my development
> > >>> environment) but they are not being placed in pathTo/rails/current/
> > >>> public/ (which I assume is where capistrano wants them).
> > >>> The only thing in the capistrano public folder is an empty system
> > >>> folder as far as I can see.
>
> > >>> So doing the test suggested in the guide of browsing to my sites url
> > >>> and appending /javascripts/prototype.js fails.
> > >>> Now it's possible that the site might work fine where they are but I
> > >>> haven't been able to start up my app yet.
>
> > >>> On Feb 24, 4:32 pm, Lee Hambley <[email protected]> wrote:
>
> > >>>> Did you run cap deploy:setup first?
>
> > >>>> -- Lee Hambley
>
> > >>>> Twitter: @leehambley | @capistranorb
> > >>>> Blog:http://lee.hambley.name/
> > >>>> Working with Rails:http://is.gd/1s5W1
>
> > >>>> On 23 February 2010 21:07, Colin <[email protected]> wrote:
>
> > >>>>> Hi,
>
> > >>>>> I'm using ruby version 1.8.6 and cap version 2.5.14.
> > >>>>> I'm developing on windows vista and I'm using subversion.
> > >>>>> I am following the deployment guide here:
> > >>>>>http://www.capify.org/index.php/From_The_Beginning
>
> > >>>>> When I run cap deploy:update it all runs successfully except for this
> > >>>>> bit:http://pastie.org/839203
>
> > >>>>> Everything works in the guide until:
>
> > >>>>> Open up a web browser and browse to your application s URL, adding /
> > >>>>> javascripts/prototype.js to the end.
>
> > >>>>> I have googled around and found similar issues but no solutions.
>
> > >>>>> Any ideas?
>
> > >>>>> Regards,
>
> > >>>>> Colin
>
> > >>>>> --
> > >>>>> * 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%2bunsubscr...@googlegrou
> > >>>>>  ps.com>For more options, visit this group at
> > >>>>>http://groups.google.com/group/capistrano?hl=en
>
> > >> --
> > >> Rafa
>
> > --
> > Rafa

-- 
* 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

Reply via email to