art_wired
art_wired

Reputation: 767

Terminal can't resolve host when trying to install RubyGems on OSX Tiger 10.4.11

I'm about 12 hours new to Ruby on Rails and I'm trying to get all the parts installed on my Mac OSX 10.4.11. I've downloaded Xcode and have followed the install instructions for changing my file path to /usr/local as well as installed Ruby through Terminal as per the Hivelogic Tutorial:

http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx

I am now copying the recommended code for RubyGems into terminal and I am getting this response:

curl: (6) Couldn't resolve host 'files.rubyforge.mmmultiworks.com'

What happened?! Does anyone know how I should proceed from here? I was soooo excited to finally get rolling and seeing Ruby Install! I don't want to give up :(

I hope someone can help =)

Upvotes: 0

Views: 914

Answers (2)

groovyjew
groovyjew

Reputation: 11

I have the same problem using that install tutorial. I've been able to get past that error message by changing "mmmultiworks" to "multiworks." I just figured it was the most likely typo in that command. So that worked.

Except for that the very next command does not work.

tar xzvf rubygems-0.9.2.tgz

returns...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Did you figure it out, art_wired? Anyone have any hints?

EDIT: I figured it out!

Here is how to install rubygems, in the terminal of a mac osx running Tiger.

$ curl -O http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-1.2.0.tgz
$ tar xzvf rubygems-1.2.0.tgz
$ cd rubygems-1.2.0
$ cd ..

This'll install 1.2.0, which is not hte most up to date version. But updating once you have it is fairly easy. Just

$ gem install rubygems-update   
$ update_rubygems 

Or if you don't want to install an old version first, go to http://rubyforge.org/frs/?group_id=126 and figure out which file you actually want. then put it up in the top line instead of what I have.

Upvotes: 1

Peter Brown
Peter Brown

Reputation: 51717

You should checkout Homebrew for installing all your OS X packages, such as MySQL. I just switched over to it last weekend and can't believe I didn't use it sooner. It takes all the frustration out of installing and upgrading shit and lets you focus on actually building your application.

Upvotes: 1

Related Questions