From: Intransition on
In Ruby 1.9+ is there a way to get the $LOAD_PATH without the gem
entries? I need access to the old-school style load path.

From: botp on
On Wed, Jul 7, 2010 at 10:35 PM, Intransition <transfire(a)gmail.com> wrote:
> In Ruby 1.9+ is there a way to get the $LOAD_PATH without the gem
> entries? I need access to the old-school style load path.

just a hunch,

(x=$LOAD_PATH)-x.grep(/gems|vendor/)

kind regards -botp