I don't know git (I use it for basics things) but could you put your octave code as external in your rails app?
Joshua wrote: > It resides as two subdirectories of a single git repository. > E.g., > root/.git > root/my-nifty-rails-app > root/a-pile-of-octave-code-and-libraries > root/a-bunch-of-other-stuff > > I'm interested in deploying 'my-nifty-rails-app' and 'a-pile-of-octave- > code-and-libraries'. Also the rails app depends on the octave code so > both dirs need to be deployed consistently. > I was thinking of having a subdir in the rails app that is a symbolic > link to the octave directory and somehow (?) write some capistrano > code to deploy the octave code as a monolithic blob. > I also know that at the moment capistrano does not support deploying > out of a subdirectory of a git repository - there's a patch floating > around somewhere to help with that. > Any suggestions on a reasonable way to deploy the dependant octave > code? > Thanks, > Josh > > On Jun 27, 11:24 pm, Lee Hambley <[email protected]> wrote: > >> Does is reside in one repository or two? >> - Lee >> >> 2009/6/28 Joshua <[email protected]> >> >> >> >> >>> Hi, >>> I'm new to Capistrano. Is there an easy way to deploy an application >>> that requires two directories? The first directory is a vanilla Ruby >>> on Rails application directory tree. The second is a directory tree >>> consisting of a pile of Octave code. My rails app uses a gem that >>> lets ruby talk to Octave. I'd prefer to keep the Octave code out of >>> the RoR app tree because it is also used outside my web app. I >>> haven't come across a clean way to deploy using Capistrano, but it's >>> quite possible I'm missing something simple. Any ideas? >>> Thanks, >>> Josh >>> > > > > -- 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.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
