Hi … i’ve been trying to get rails up and running on my system. I run
OS X leopard. updated ruby to 1.8.7. Installed ruby 1.9 with a suffix
following this guide (http://ruby.tie-rack.org/28/installing-19/)
So I checked what rails version I had … turns out to be 1.2.6 iiiiik
so … anyone have any clues? I’m sort of really stumped as to what goes
where when you compile programs like ruby as to what goes where and how
do you tweak/uninstall it when necessary.
ps:
mbp:~ spobo$ sudo gem update --system
Updating RubyGems
ERROR: While executing gem … (Zlib::GzipFile::Error)
not in gzip format
ps2: yes, I know I’m not using ruby 1.9 when I do the simple gem command
and no, gem19 install rails and gem19 update --system do the same.
Well … to tell the truth I only got that reply once. The 90 other
times everything just said not in gzip format without anything else. I
was hoping it was more of a quick fix and a known issue. I’ll try
turning off opendns and see what happens then.
you are having dns issues. either that, or gems.rubyforge.org was
down when you ran that command. first step is always to read the
error messages!
regards.
ERROR: While executing gem … (Zlib::GzipFile::Error)
not in gzip format
mbp:~ spobo$
Well … to tell the truth I only got that reply once. The 90 other
times everything just said not in gzip format without anything else. I
was hoping it was more of a quick fix and a known issue. I’ll try
turning off opendns and see what happens then.
Did you try fetching either URL (using wget or curl or telnet)?
It seems that opendns breaks the internet on purpose. I would avoid
it at all cost.
Well … to tell the truth I only got that reply once. The 90 other
times everything just said not in gzip format without anything else. I
was hoping it was more of a quick fix and a known issue. I’ll try
turning off opendns and see what happens then.
Did you try fetching either URL (using wget or curl or telnet)?
It seems that opendns breaks the internet on purpose. I would avoid
it at all cost.
I completely agree. Turned off opendns and everything started working
magically. Who knew … perhaps the guys running opendns are Java
fanboys? Also, rails was using a different version of ruby which led to
some incompatibilities between rubygems and rails. Everything is fixed
now and running smoothly with phusion passenger … brilliant Off to
do some conding!