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! -- Posted via ruby-forum.com.
2009/8/17 Julia Lovel <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > 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 Law wrote:> 2009/8/17 Julia Lovel <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>: >> >> 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). > > ColinHmm, 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! -- Posted via ruby-forum.com.