Hello, I have some video clips I want to make accessible through my web server (through the public folder). However, they are large and I do not want to commit them to Git so that capistrano can automatically upload them. What''s the best way of doing this? Thanks, John -- Posted via http://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Assuming the files are all below some common point like "public/ big_video_clips/" you can just add "public/big_video_clips/*" to the .gitignore file in the project root. On Apr 18, 2:16 pm, John Honovich <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hello, > > I have some video clips I want to make accessible through my web server > (through the public folder). However, they are large and I do not want > to commit them to Git so that capistrano can automatically upload them. > > What''s the best way of doing this? > > Thanks, > > John > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---
Rick Lloyd wrote:> Assuming the files are all below some common point like "public/ > big_video_clips/" you can just add "public/big_video_clips/*" to > the .gitignore file in the project root. > > On Apr 18, 2:16�pm, John Honovich <rails-mailing-l...@andreas-s.net>Thanks. To confirm, Capistrano will still deploy files even if they are gitignored as long as they are in a subdirectory like public/big/* ? -- Posted via http://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---
On Sat, Apr 18, 2009 at 5:36 PM, John Honovich < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Rick Lloyd wrote: > > Assuming the files are all below some common point like "public/ > > big_video_clips/" you can just add "public/big_video_clips/*" to > > the .gitignore file in the project root. > > > > On Apr 18, 2:16�pm, John Honovich <rails-mailing-l...@andreas-s.net> > > Thanks. To confirm, Capistrano will still deploy files even if they are > gitignored as long as they are in a subdirectory like public/big/* ?Capistrano will only deploy files if they do not match a pattern within your .gitignore file. For example, public/big/* will exclude all files and folders who''s parent folder is ''#{RAILS_ROOT}/public/big''. If you need more information, I would highly recommend that you view the following screencast(s) if you haven''t done so: http://railscasts.com/episodes/96-git-on-rails http://railscasts.com/episodes/133-capistrano-tasks There are several other screencasts by the same author as well as others on the web which go into various degrees of detail. Good luck, -Conrad> -- > Posted via http://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---