From: Tom Cloyd Date: 2009-09-03T00:03:12+09:00 Subject: Re: gem install failure - probably easy to fix Axel Etzold wrote: > Dear Tom, > > > >> ERROR: While executing gem ... (Errno::EACCES) >> Permission denied - /home/tomc/.ri/cache/.doc_dirs >> > > you don't have sufficient writing rights on that file, probably > because you installed the gems as normal user rather than with sudo > privileges. > Actually, no. I did install rubygems as root user. THEN I discovered that "sudo gem install..." wouldn't work, but "gem install..." would. I don't understand what happened. t. > There is by default no "root" user in Ubuntu like in other Linuxes, > but you can create one and use "gem install" as root: > > sudo passwd root > > > > - and then do all sorts of (potentially dangerous things ..) > > (look here: https://help.ubuntu.com/community/RootSudo) > > > Best regards, > > Axel > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << tc@tomcloyd.com >> (email) << TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~