Thanks for the reply Mark. When I delete the cached stock .gem file the run your suggested command with the path to my customized .gem file, I see
Could not find gem 'dm-pager (>= 0, runtime)' in any of the sources On Feb 9, 8:51 am, MarkMT <[email protected]> wrote: > The way I've done this is to do the rake install like you describe and > then use 'gem bundle --cache <path to your customized .gem file>' to > add the modified gem to you application's gem cache. > > On Feb 9, 6:07 am, Ming <[email protected]> wrote: > > > > > I needed to modify a gem -- dm-pager -- used by my merb app. For > > development, I merely went into the gem src of my app's gem/gem > > directory and made the necessary changes. This worked fine. > > > Now as I deploy the app, with bundled gems, my changes don't > > propagate. The server seems to be using the stock gem without my > > modifications. > > > So I downloaded the source dm-pager, rake-d, and then rake installed > > it (as sudo) on both the deployment and development servers and > > deleted any cached dm-pager gems in the app cache directories. > > > However, every time I deploy via capistrano the app's current, cache > > directory has the stock gem. (Without doing 'gem bundle' on the dev > > box and the with.) > > > I know this is a naive approach -- I'm a relative ruby and merb n00b. > > > What's the right way of modifying gems for my merb project, specifying > > those gems and deploying them? > > > TIA -- 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.
