dependencies.rb isn't the list of gems that gets redeployed. We use the gems that are in your local cache, which are installed there via thor merb:gem:install. You can safely gitignore the gems/gems if you run the redeploy script when you deploy. -- Yehuda
On Thu, Nov 20, 2008 at 3:55 PM, Liam Morley <[EMAIL PROTECTED]> wrote: > Thanks for the response- redeploying doesn't seem to have any effect on > finding something like do_mysql, I'm curious how it would manage to find > anything like that if it's *not* mentioned in dependencies.rb. > > For the sake of moving forward I tried including do_mysql in > dependencies.rb, but then I ran into issues about the thin gem not being > found. I then ran "thor merb:gem:install thin --cache", which installed > eventmachine, daemons, and thin in my gem cache. Is this the recommended > approach? > > liam > > > > On Thu, Nov 20, 2008 at 2:29 PM, Yehuda Katz <[EMAIL PROTECTED]> wrote: > >> Just run bin/thor merb:gem:redeploy when you deploy :) It'll take care of >> everything for ya ;) >> -- Yehuda >> >> On Thu, Nov 20, 2008 at 10:33 AM, Liam Morley <[EMAIL PROTECTED]> wrote: >> >>> >>> I'm using the agnostic will_paginate gem, so I had to do the same >>> thing. After that, running ./bin/merb complains that it can't find >>> do_mysql (~> 0.9.7). >>> >>> Do best practices involve adding this (and other potential db-related >>> gems installed with merb/dm) to dependencies.rb/yml? Or should I >>> install from the local cache each time I redeploy? >>> >>> liam >>> >>> On Nov 17, 5:51 pm, "Yehuda Katz" <[EMAIL PROTECTED]> wrote: >>> > You can use thor merb:gem:install your-name --cache to bundle gems that >>> are >>> > in your local system repo. >>> > -- Yehuda >>> > >>> > On Sun, Nov 16, 2008 at 7:46 AM, Michael Klishin < >>> > >>> > >>> > >>> > [EMAIL PROTECTED]> wrote: >>> > >>> > > 2008/11/16 Aurels <[EMAIL PROTECTED]>: >>> > > > My question is, how can I have the thor task to take them in >>> account? >>> > > > I don't want to publish them on rubyforge or github at the >>> moment... >>> > >>> > > write a 4 lines (one is for shebang) Ruby script that uses The Great >>> > > Power of gem install with -i option. >>> > >>> > > thor tasks probably never will be able to predict and handle every >>> > > possible case :) >>> > > -- >>> > > MK >>> > >>> > -- >>> > Yehuda Katz >>> > Developer | Engine Yard >>> > (ph) 718.877.1325 >>> >>> >> >> >> -- >> Yehuda Katz >> Developer | Engine Yard >> (ph) 718.877.1325 >> >> >> > > > > -- Yehuda Katz Developer | Engine Yard (ph) 718.877.1325 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
