Leopard rails 2.0 hell

I did something very silly tonight that I am now paying dearly for!! I
updated my installation of rails on OS 10.5 leopard and broke the
entire rails stack on this machine. Thank god I have a laptop which I
hadn’t upgraded yet and I could finish some work that needed to get
done. But now my desktop machine is in a state where things just fail
misserably when I try to run small apps in development mode.

What are my options here? I have searched and found nothing on how to
revert back to the stock apple install of ruby.

But I have seen some mention on installing it in my local user account.
I am getting extremely tired and I have to meet with a client in the
morning…

What to do, any suggestions would be awesome. If you could just point
me in the right direction I would really appreciate the help!

On Dec 15, 2007 11:14 PM, James [email protected] wrote:

I did something very silly tonight that I am now paying dearly for!! I
updated my installation of rails on OS 10.5 leopard and broke the
entire rails stack on this machine. Thank god I have a laptop which I
hadn’t upgraded yet and I could finish some work that needed to get
done. But now my desktop machine is in a state where things just fail
misserably when I try to run small apps in development mode.

Two things:

1.) Post the errors you are seeing.
2.) Consider posting this to the Rails mailing list.

You may want to consider installing with macports or from source if
you want a clean Ruby install (although it won’t be the Apple flavor
of Ruby).

V/r
Anthony E.

Also, if all you did is upgrade rails you haven’t really touched the
stock install. Just uninstall that version of the rails gem.

If you’re really worried and don’t know what to do, don’t rush to 2.0
yet.
Let others jump into it and write tutorials first.
Rails 2.0 just came out days ago.
Leopard just came out about a month and a half ago.
This is a lesson in bleeding edge.
You can always do an Archive & Install, preserving everything in your
home folder in a separate folder.

On 12/16/07, Tim C. [email protected] wrote:

Also, if all you did is upgrade rails you haven’t really touched the
stock install. Just uninstall that version of the rails gem.

or freeze the existing project(s)

rake freeze:gems VERSION=1.2.6

or whatever the version he was using before.

Using the various freeze rake tasks is probably good hygiene for rails
development anyway, as is setting up and using subversion even for
personal projects.


Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/