[Rubygems-developers] Working on a fork of a ruby gem - installing gems in a special way

Eric Hodel drbrain at segment7.net
Wed May 27 16:21:01 EDT 2009


On May 25, 2009, at 04:23, Vladimir Dobriakov wrote:

> ## load path
>
> explicitly change the load path in the client application
> `$:.unshift 'myversion_of_foo/lib'` or put a require statement with
> explicit full path.
>
> Now imagine there is a chain of libraries with dependencies
> ClientApp -> A -> B -> C -> D and you are going to improve the
> library B. Changing require statements leads to a real mess.

I usually use ruby -I for this, rather than editing files.  It seems  
to work alright.


More information about the Rubygems-developers mailing list