# Gem path problem in MAC OS

**URL:** <https://www.ruby-forum.com/t/gem-path-problem-in-mac-os/123421>\
**Category:** Ruby\
**Created:** [December 17, 2007, 3:37pm UTC](https://www.ruby-forum.com/t/gem-path-problem-in-mac-os/123421 "2007-12-17T15:37:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kosmo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f07891/32.png) [@Kosmo](https://www.ruby-forum.com/u/Kosmo)\
**Post date:** [December 17, 2007, 3:37pm UTC](https://www.ruby-forum.com/t/gem-path-problem-in-mac-os/123421/1 "2007-12-17T15:37:30Z")

</div>

I have installed ruby and gems long time ago using the tutorial in the  
first edition of Pragmatic Programmers Agile Web D. With  
Rails.

My Rails applications work fine, but when I install new gems they go  
to /usr/local/lib/ruby/gems/1.8/gems - folder, and when I try to  
require them it gives an error with the path /usr/local/lib/ruby/site-  
ruby…

Do I have my install of Ruby broken or is this the correct way? Is  
the /ruby/gems folder the correct folder for gems to install? If so,  
why aren’t my requires working?
