Forum: Ruby Problem with setting up rubygem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Da828b27a295fe67c31a4d64f751d6cd?d=identicon&s=25 Victor Fan (victorfan88)
on 2006-06-06 01:23
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:in `save'
        from setup.rb:879:in `exec_config'
        from setup.rb:703:in `invoke'
        from setup.rb:674:in `invoke'
        from setup.rb:1352

what should I do?

Thank you!

Victor
Da828b27a295fe67c31a4d64f751d6cd?d=identicon&s=25 Victor Fan (victorfan88)
on 2006-06-06 22:41
Never mind, I've discovered that I made some stupid mistakes while I set
up ruby.

Thank you!
This topic is locked and can not be replied to.