Hi,
I dont understand these lines . I was getting these warnings
whenever i intall or uninstall a new gem .
WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.8 and
/usr/bin aren’t both writable.
WARNING: You don’t have /home/srinath/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
could any one please explain me !!
i had gem version 1.3.1 installed
thanks,
sri…
It looks like you don’t have rights to install the gems. Become root
and
then install the gems.If you are installing them to your home directory
make
sure you have full write privileges on your .gem directory
chmod -R 775 .gem
would do the trick
Trausti
On Thu, Aug 6, 2009 at 11:03 AM, Srinath A. <
When you install a gem it will try to install the gem in the ruby
directory like /usr/local/… if you do not have write permissions to
do this it will install the gem in your home dirctory under .gem. If
you want to install the gem correctly you will have to use sudo
first.
BTW installing the gems in your home directory will also work but like
the error message says you will have to add this to your path.
On Aug 6, 2:10 am, Trausti Thor J. [email protected]