# Ruby Gems Help

**URL:** <https://www.ruby-forum.com/t/ruby-gems-help/113062>\
**Category:** Ruby\
**Created:** [August 27, 2007, 4:47am UTC](https://www.ruby-forum.com/t/ruby-gems-help/113062 "2007-08-27T04:47:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicksnels](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Post date:** [August 27, 2007, 4:47am UTC](https://www.ruby-forum.com/t/ruby-gems-help/113062/1 "2007-08-27T04:47:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nicksnels](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Post date:** [August 27, 2007, 5:08am UTC](https://www.ruby-forum.com/t/ruby-gems-help/113062/2 "2007-08-27T05:08:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nicksnels](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Post date:** [August 27, 2007, 5:10am UTC](https://www.ruby-forum.com/t/ruby-gems-help/113062/3 "2007-08-27T05:10:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nicksnels](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Post date:** [August 27, 2007, 6:07am UTC](https://www.ruby-forum.com/t/ruby-gems-help/113062/4 "2007-08-27T06:07:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nicksnels](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Post date:** [August 28, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/ruby-gems-help/113062/5 "2007-08-28T21:58:37Z")

</div>

Dan Z. wrote:

> 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.html#tag22](http://hypermetrics.com/rubyhacker/clrFAQ.html#tag22) \>

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
