Mike Mangino on 13 Aug 2007 17:10:04 -0000 |
To figure out what gems are required by an app, you can do: ps = Gem::GemPathSearcher.new $".map { |file| ps.find(file).name rescue nil }.compact from script/console. If the gems are required in environment.rb, that should work well. For a decent process of managing required gems, take a look at http://underpantsgnome.com/2007/01/16/managing-gems-with-rake/ Mike On Aug 13, 2007, at 12:00 PM, Colin A. Bartlett wrote: Keith Fitzgerald wrote:is there a way to tell which gems are required for a given app?Nothing automatic, to my knowledge.
_______________________________________________ To unsubscribe or change your settings, visit: http://lists.phillyonrails.org/mailman/listinfo/talk
|
|