# Halp! howto config env.rb to look for rmagick gem?

**URL:** <https://www.ruby-forum.com/t/halp-howto-config-env-rb-to-look-for-rmagick-gem/142099>\
**Category:** Rails\
**Created:** [July 3, 2008, 1:03pm UTC](https://www.ruby-forum.com/t/halp-howto-config-env-rb-to-look-for-rmagick-gem/142099 "2008-07-03T13:03:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauibbq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@mauibbq](https://www.ruby-forum.com/u/mauibbq)\
**Post date:** [July 3, 2008, 1:03pm UTC](https://www.ruby-forum.com/t/halp-howto-config-env-rb-to-look-for-rmagick-gem/142099/1 "2008-07-03T13:03:35Z")

</div>

hi,  
my rails application is having trouble locating rmagick to use with acts  
as attachment. my host put the gem in  
/home/myaccount/ruby/gems/gems/rmagick. how do i tell my rails app  
rmagick is located there?

i tried

require “/home/myaccount/ruby/gems/gems/rmagick”, but that was crashing  
my rails app.

and

ENV[‘GEM\_PATH’] = ‘/home/myaccount/ruby/gems/gems/rmagick’

both still doesnt work. i am using rails 2.0.2

thank you!

---

<div class="post-metadata">

**Author:** ![mauibbq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@mauibbq](https://www.ruby-forum.com/u/mauibbq)\
**Post date:** [July 4, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/halp-howto-config-env-rb-to-look-for-rmagick-gem/142099/2 "2008-07-04T14:23:29Z")

</div>

bump anyone?
