[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Ruby Gems Help

Nick Nick

8/27/2007 2:47:00 AM

Hello again,
I've run into trouble installing RubyGems. I've read the readme and
several other tutorials and they tell me to run "ruby setup.rb".
Somehow this confuses me and for some reason I think it must be the
easiest thing in the world... I'm on a Mac OS X. I downloaded the
newest .zip version of RubyGems. I've opened setup.rb. I've ran "ruby
setup.rb in terminal. Is it supposed to be in a certain location? Is
therer another download for Macs? What am I doing wrong? Thanks.
--
Posted via http://www.ruby-....

4 Answers

Dan Zwell

8/27/2007 3:07:00 AM

0

Nick Sch wrote:
> Hello again,
> I've run into trouble installing RubyGems. I've read the readme and
> several other tutorials and they tell me to run "ruby setup.rb".
> Somehow this confuses me and for some reason I think it must be the
> easiest thing in the world... I'm on a Mac OS X. I downloaded the
> newest .zip version of RubyGems. I've opened setup.rb. I've ran "ruby
> setup.rb in terminal. Is it supposed to be in a certain location? Is
> therer another download for Macs? What am I doing wrong? Thanks.

Hi,

I haven't installed RubyGems by this method, but you will need to
extract the .zip file to a place on your harddrive. Then you will need
to open the terminal and navigate to that place. Useful tools for
finding something in terminal:
"pwd" tells you where you are
"cd <directory>" changes directory
"ls" lists contents of the current directory.

So navigate to where you extracted the archive. You should be able to
see "setup.rb" by typing "ls setup.rb". Then, run "ruby setup.rb".

Let us know how that goes, though if something complex goes wrong, I
fear /I/ won't be able to help, as I don't use a mac. Certainly somebody
will be able to help you, though.

Dan

Nick Nick

8/27/2007 3:11:00 AM

0

Sorry if double posting is breaking a rule here, but I think I found how
to do it. Then I ran into another problem. It says permission denied.
--
Posted via http://www.ruby-....

Dan Zwell

8/27/2007 4:07:00 AM

0

Nick Sch wrote:
> Sorry if double posting is breaking a rule here, but I think I found how
> to do it. Then I ran into another problem. It says permission denied.

Prefix a command with "sudo" to elevate your permissions before the
command is run. The system may prompt you for your password. That is,
run "sudo ruby setup.rb". And I don't think double posting is ever a
problem, if someone has something important to add to the last email
they sent. By the way, this is a mailing list, and ruby-forum is just a
frontend.

Regards,
Dan

Terry Poulin

8/28/2007 7:57:00 PM

0

Dan Zwell wrote:
> Nick Sch wrote:
>> Sorry if double posting is breaking a rule here, but I think I found how
>> to do it. Then I ran into another problem. It says permission denied.
>
> Prefix a command with "sudo" to elevate your permissions before the
> command is run. The system may prompt you for your password. That is,
> run "sudo ruby setup.rb". And I don't think double posting is ever a
> problem, if someone has something important to add to the last email
> they sent. By the way, this is a mailing list, and ruby-forum is just a
> frontend.
>
> Regards,
> Dan
>
>

I think it is also linked to the comp.lang.ruby newsgroup, so that what ever
goes out to the forum, mailing list, or newsgroup *mostly* gets distributed to
all the others. Suitable posting guidelines for this list can probably be
found here:

< http://hypermetrics.com/rubyhacker/clrFAQ.... >

Personally, I wouldn't worry about double posting as long as the message is
purposeful to the thread rather then wasteful or is done many times in
succession.

Cheers


--

Email and shopping with the feelgood factor!
55% of income to good causes. http://www.ip...