Ruby Gems Help

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.

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

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.

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

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 >

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

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