1.8.4 One-Click deletes my Rails gems!

J

Jeff Cohen

I noticed that Curt posted the 1.8.4 OCI to RubyForge over the weekend,
so I used it today to install 1.8.4 (I had 1.8.2 here at work).

After doing so, I no longer had any of my Rails gems and need to
reinstall (which is a real pain with the firewall here... have to
download the gems manually, etc.)

Anyone else have this problem?

Thanks!
Jeff
www.softiesonrails.com
 
J

James Britt

Jeff said:
I noticed that Curt posted the 1.8.4 OCI to RubyForge over the weekend,
so I used it today to install 1.8.4 (I had 1.8.2 here at work).

After doing so, I no longer had any of my Rails gems and need to
reinstall (which is a real pain with the firewall here... have to
download the gems manually, etc.)

Anyone else have this problem?

This was discussed on ruby-talk a few times as Curt was released RC
versions of the installer.

The installer should have made it clear that it was going to obliterate
your entire ruby installation destination directory (typically c:\ruby).
That happens to be a parent of where gems go, so they are deleted as
well if you are reusing the same location.

Maybe this is dopey, but have you checked the recycle bin?

(I've decided not to upgrade until I have a good migration plan that
ensures I do not lose any of my installed gems and other 3rd-party libs
and files, and do not have to jump through hoops to get everything
working the same. Suggestions welcome.)


--
James Britt

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - The Journal By & For Rubyists
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools
 
P

Patrick Hurley

This was discussed on ruby-talk a few times as Curt was released RC
versions of the installer.

The installer should have made it clear that it was going to obliterate
your entire ruby installation destination directory (typically c:\ruby).
That happens to be a parent of where gems go, so they are deleted as
well if you are reusing the same location.

Maybe this is dopey, but have you checked the recycle bin?

(I've decided not to upgrade until I have a good migration plan that
ensures I do not lose any of my installed gems and other 3rd-party libs
and files, and do not have to jump through hoops to get everything
working the same. Suggestions welcome.)


--
James Britt

http://www.ruby-doc.org - Ruby Help & Documentation
http://www.artima.com/rubycs/ - The Journal By & For Rubyists
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools

Not perfect (at least not automated), but copying your
C:\ruby\lib\ruby\gems\1.8\cache
directory and then doing a batch install of those files locally works
pretty well. As for non-gem apps, I keep them in version control with
a batch to reinstall.

pth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,208
Messages
2,571,082
Members
47,683
Latest member
AustinFairchild

Latest Threads

Top