[Rubygems-developers] Current load paths

Trans transfire at gmail.com
Wed Dec 2 13:15:14 EST 2009

Just case someone came across this post and was wondering about the
answer, the discussion took place on ruby-talk:


On Nov 19, 12:43 pm, Trans <transf... at gmail.com> wrote:
> I need to get a list of the "current" gem load paths. I learned that I
> can get a list of all the latest load paths via:
>   Gem.latest_load_paths
> which is great. But lets say I specify an older version of a lib, eg:
>   gem "RubyInline", "= 3.7.0"
> Gem.latest_load_paths doesn't change. How can I get a list of latest
> load paths but adjusted to reflect any specified gem versions?

More information about the Rubygems-developers mailing list