[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Leopard rails 2.0 hell

James

12/16/2007 4:13:00 AM

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!


4 Answers

Anthony Eden

12/16/2007 4:21:00 AM

0

On Dec 15, 2007 11:14 PM, James <treasonx@gmail.com> 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 Eden

Tim Connor

12/16/2007 7:45:00 AM

0

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

John Joyce

12/16/2007 12:53:00 PM

0

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.

Rick DeNatale

12/17/2007 3:59:00 PM

0

On 12/16/07, Tim Connor <timocratic@gmail.com> 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.denh...