Erwin
2011-Oct-20 22:35 UTC
Rails 3.1.1 why public/system content is not transferred upon deployment
Testing locally I uploaded files into public/system/... folders ( default for Paperclip) Upon deployment ( capistrano) on the remote server, I can see a symlink from public/system to the shared/system/ but the content ( all images ) is not transferred.... I had to do it myself via ftp .. Is it a standard behavior ? or did I miss adding a task in the deployment ? thanks for your feedback -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Roy Situmorang
2011-Oct-21 00:45 UTC
Re: Rails 3.1.1 why public/system content is not transferred upon deployment
Well, the deployed files are only those included in repository. On Fri, Oct 21, 2011 at 5:35 AM, Erwin <yves_dufour-ee4meeAH724@public.gmane.org> wrote:> Testing locally I uploaded files into public/system/... folders > ( default for Paperclip) > Upon deployment ( capistrano) on the remote server, I can see a > symlink from public/system to the shared/system/ but the content > ( all images ) is not transferred.... I had to do it myself via > ftp .. > > Is it a standard behavior ? or did I miss adding a task in the > deployment ? > > thanks for your feedback > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Peter De Berdt
2011-Oct-21 06:45 UTC
Re: Rails 3.1.1 why public/system content is not transferred upon deployment
On 21 Oct 2011, at 02:45, Roy Situmorang wrote:> Well, the deployed files are only those included in repository. > > On Fri, Oct 21, 2011 at 5:35 AM, Erwin <yves_dufour-ee4meeAH724@public.gmane.org> wrote: > Testing locally I uploaded files into public/system/... folders > ( default for Paperclip) > Upon deployment ( capistrano) on the remote server, I can see a > symlink from public/system to the shared/system/ but the content > ( all images ) is not transferred.... I had to do it myself via > ftp .. > > Is it a standard behavior ? or did I miss adding a task in the > deployment ?It is standard behavior, you might read up on capistrano on urls like http://www.practicalecommerce.com/blogs/post/468-Creating-Symlinks-When-Deploying-a-Rails-Application (plenty of others that deal with the why and how of the symlinked directories. Best regards Peter De Berdt -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.