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:inopen’
from Desktop/rubygems-0.9.4/setup.rb:134:in save' from Desktop/rubygems-0.9.4/setup.rb:992:inexec_config’
from Desktop/rubygems-0.9.4/setup.rb:812:in invoke' from Desktop/rubygems-0.9.4/setup.rb:773:ininvoke’
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

[email protected] 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:inopen’
from Desktop/rubygems-0.9.4/setup.rb:134:in save' from Desktop/rubygems-0.9.4/setup.rb:992:inexec_config’
from Desktop/rubygems-0.9.4/setup.rb:812:in invoke' from Desktop/rubygems-0.9.4/setup.rb:773:ininvoke’
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

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs