Forum: Ruby on Rails EdgeRails with other Gems like RMagick

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
00e3a96684ab390a350b0271e98741d3?d=identicon&s=25 Nshbrown Nshbrown (nshb)
on 2005-12-18 20:53
(Received via mailing list)
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cee0292fffa691f1fb320d5400200e99?d=identicon&s=25 Marcel Molina Jr. (Guest)
on 2005-12-18 20:59
(Received via mailing list)
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/activesup...

marcel
Ce60c4f78a63b0695e4dafc4bd7964f7?d=identicon&s=25 Lou Vanek (Guest)
on 2005-12-18 21:05
(Received via mailing list)
your gems repository can be changed at runtime by resetting
environmental variables GEM_PATH and GEM_HOME.
This topic is locked and can not be replied to.