[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: ruby gems on ubuntu

Michael Linfield

10/25/2007 11:03:00 PM

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-....

1 Answer

Michael Linfield

10/25/2007 11:36:00 PM

0

> 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-....