# Gem PATH Correction

**URL:** <https://www.ruby-forum.com/t/gem-path-correction/173884>\
**Category:** Rails\
**Created:** [August 17, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/gem-path-correction/173884 "2009-08-17T18:06:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlovel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jlovel](https://www.ruby-forum.com/u/jlovel)\
**Post date:** [August 17, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/gem-path-correction/173884/1 "2009-08-17T18:06:45Z")

</div>

I installed some additional gems for a project I am doing, and they show  
up not in the Ruby System Library, but outside of it. Also, I get the  
error message “gem executables will not run because (file) is not in the  
PATH”. How can I fix this and put my gems in the right place so that  
they work?  
Thanks to anyone who can help with this!

---

<div class="post-metadata">

**Author:** ![jlovel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jlovel](https://www.ruby-forum.com/u/jlovel)\
**Post date:** [August 17, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/gem-path-correction/173884/2 "2009-08-17T18:39:46Z")

</div>

2009/8/17 Julia L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> I installed some additional gems for a project I am doing, and they show  
> up not in the Ruby System Library, but outside of it. Also, I get the  
> error message “gem executables will not run because (file) is not in the  
> PATH”. How can I fix this and put my gems in the right place so that  
> they work?  
> Thanks to anyone who can help with this!

If you are on Ubuntu or similar did you forget to use sudo on the gem  
install command? If so just do the install again (with sudo  
obviously).

Colin

---

<div class="post-metadata">

**Author:** ![jlovel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f05b48/32.png) [@jlovel](https://www.ruby-forum.com/u/jlovel)\
**Post date:** [August 17, 2009, 6:48pm UTC](https://www.ruby-forum.com/t/gem-path-correction/173884/3 "2009-08-17T18:48:27Z")

</div>

Colin L. wrote:

> 2009/8/17 Julia L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
> 
> > I installed some additional gems for a project I am doing, and they show  
> > up not in the Ruby System Library, but outside of it. Also, I get the  
> > error message “gem executables will not run because (file) is not in the  
> > PATH”. How can I fix this and put my gems in the right place so that  
> > they work?  
> > Thanks to anyone who can help with this!
> 
> If you are on Ubuntu or similar did you forget to use sudo on the gem  
> install command? If so just do the install again (with sudo  
> obviously).
> 
> Colin

Hmm, the gems were installed from a rakefile that was sent to me. I AM  
running Ubuntu, though, so that is probably it! Let’s see…  
“~$ sudo gem install colored”  
…Yep, that was it! Thank you SO MUCH for the reply, Colin!
