Gem PATH Correction

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!

2009/8/17 Julia L. [email protected]:

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

Colin L. wrote:

2009/8/17 Julia L. [email protected]:

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!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs