Problem with setting up rubygem


Hi everyone!

I am trying to set up Rubygems on my Linux machine; however, I’ve got
the following error:

[root@denman rubygems-0.8.11]# sudo ruby setup.rb
—> bin
<— bin
—> lib
—> lib/rubygems
<— lib/rubygems
<— lib
setup.rb:242:in initialize': Permission denied - .config (Errno::EACCES) from setup.rb:242:insave’
from setup.rb:879:in exec_config' from setup.rb:703:ininvoke’
from setup.rb:674:in `invoke’
from setup.rb:1352

what should I do?

Thank you!



Never mind, I’ve discovered that I made some stupid mistakes while I set
up ruby.

Thank you!