[rspec-users] Permission error when installing rspec

marcio marcio.rails at gmail.com
Tue May 27 18:33:38 EDT 2008


hello from here! i'm new in rspec and i have a problem while
installing rspec 1.1.4 gem:

marcio at marcio-work:~$ gem install rspec
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR:  While executing gem ... (Errno::EACCES)
   Permission denied - /var/lib/gems/1.8/cache/rspec-1.1.4.gem

I did it with sudo and there was no problem, but when i attemp to use
rspec (spec [RUBYFILE]), the sys does not find the gem! So i
uninstalled it and now i'm having this permission problem. Anyone
could help to me?

Thanks anyway


More information about the rspec-users mailing list