EdgeRails with other Gems like RMagick

I am using EdgeRails, and have some of the plugin’s using gems such as
Rmagick which are included through a command similar to “require_gems
‘rmagick’”.

Curious how to handle such attempts at inclusion when I am no longer
bound
to the system gems and am using the code strictly within vendor/rails
and
such.

Is there a way to point require_gems to another location to get these
gems?

-Nb

 Nathaniel S. H. Brown                           http://nshb.net

On Sun, Dec 18, 2005 at 11:52:48AM -0800, Nathaniel S. H. Brown wrote:

I am using EdgeRails, and have some of the plugin’s using gems such as
Rmagick which are included through a command similar to “require_gems
‘rmagick’”.

Curious how to handle such attempts at inclusion when I am no longer bound
to the system gems and am using the code strictly within vendor/rails and
such.

Is there a way to point require_gems to another location to get these gems?

Active Support provides a method on Kernel called require_library_or_gem
which might be of use to you:
http://dev.rubyonrails.org/browser/trunk/activesupport/lib/active_support/core_ext/kernel.rb

marcel

your gems repository can be changed at runtime by resetting
environmental variables GEM_PATH and GEM_HOME.