Ruby gems on ubuntu

I can't get ruby gems to install.
Every time I run setup.rb (with sudo) I get this message

Desktop/rubygems-0.9.4/setup.rb:134:in `initialize': Is a directory - .config (Errno::EISDIR)
        from Desktop/rubygems-0.9.4/setup.rb:134:in `open'
        from Desktop/rubygems-0.9.4/setup.rb:134:in `save'
        from Desktop/rubygems-0.9.4/setup.rb:992:in `exec_config'
        from Desktop/rubygems-0.9.4/setup.rb:812:in `invoke'
        from Desktop/rubygems-0.9.4/setup.rb:773:in `invoke'
        from Desktop/rubygems-0.9.4/setup.rb:1578

Is this an issue with ubuntu? I'm running the latest version (7.10 gutsy)

···

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

MistryMan4000@Yahoo.com wrote:

I can't get ruby gems to install.
Every time I run setup.rb (with sudo) I get this message

Desktop/rubygems-0.9.4/setup.rb:134:in `initialize': Is a directory -
.config (Errno::EISDIR)
        from Desktop/rubygems-0.9.4/setup.rb:134:in `open'
        from Desktop/rubygems-0.9.4/setup.rb:134:in `save'
        from Desktop/rubygems-0.9.4/setup.rb:992:in `exec_config'
        from Desktop/rubygems-0.9.4/setup.rb:812:in `invoke'
        from Desktop/rubygems-0.9.4/setup.rb:773:in `invoke'
        from Desktop/rubygems-0.9.4/setup.rb:1578

Is this an issue with ubuntu? I'm running the latest version (7.10
gutsy)
__________________________________________________

instead of using setup.rb i would just do the following since u have
Ubuntu.

sudo bash
#enter pw
apt-cache search ruby
#should come up with something similar to ruby-1.8.2 or something of
that nature
apt-get install ruby-1.8.2
#this will install it. For any gems in the future simply type:
gem install <gem name here>

···

--
Posted via http://www.ruby-forum.com/\.

instead of using setup.rb i would just do the following since u have
Ubuntu.

sudo bash
#enter pw
apt-cache search ruby
#should come up with something similar to ruby-1.8.2 or something of
that nature
apt-get install ruby-1.8.2
#this will install it. For any gems in the future simply type:
gem install <gem name here>

I apologize i also forgot to include that you need to run this before
gem install.

apt-cache search rubygems # some rubygem installation will be listed
apt-et install rubygems-version

Cheers,

- Mac

···

--
Posted via http://www.ruby-forum.com/\.