From: Ryan Davis Date: 2010-04-01T12:44:43+09:00 Subject: Re: a question about gem's ~> On Mar 31, 2010, at 20:27 , Richard Conroy wrote: > On Thu, Apr 1, 2010 at 4:16 AM, Eric Hodel wrote: > >> On Mar 28, 2010, at 16:21, Albert Schlef wrote: >> >>> I have a question about RubyGems's "~>". Sorry for asking this here. >>> I've searched in their "manual", but it's like searching a needle in a >>> haystack. >> >> > Hijacking this question a little, but how can I tell from my program what > gems > and what versions of those gems it is using? > > If I knew what my programs gem dependencies were, I think it would really > help > me out on some very nasty issues. Last week for instance, it took me a > couple > of hours of trial and error to get my heroku .gems manifest to match the gem > versions I was using in development. YOU don't know what gems YOUR code is using? Why not? One thing that might help is to try out the isolate gem. You specify what gems your project needs and they're privately installed and only those private gems get used. I use it on all my rails projects (and gem projects) at work.