https://github.com/krisleech/reinstall-gems
Reinstall all your gems which have C extensions, useful for upgrading to 64 bit, ie. Mac 10.6 Snow Leopard
https://github.com/krisleech/reinstall-gems
Last synced: 5 months ago
JSON representation
Reinstall all your gems which have C extensions, useful for upgrading to 64 bit, ie. Mac 10.6 Snow Leopard
- Host: GitHub
- URL: https://github.com/krisleech/reinstall-gems
- Owner: krisleech
- License: other
- Created: 2010-04-21T14:01:13.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-04-21T14:05:58.000Z (about 16 years ago)
- Last Synced: 2025-10-31T04:39:27.256Z (8 months ago)
- Homepage:
- Size: 89.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
== ReInstall Gems
This rake task re-installs all your gems, it installs all currently installed versions.
I needed to do this when upgrading to MacOS 10.6 (Snow Leopard) as it is 64 bit
and any compiled gems where compiled for 32 bit.
It only reinstalls gems which make use of C extensions.
"gem pristine -all" did not work for me.
You will have to keep an eye on the output as the task does not log any errors
during install, some uninstalls also include 'questions'.
== Notes
Gems are installed with 'sudo' so you will need to enter your password.
Any gems not avalible via a remote source (rubygems etc.) will be uninstalled,
but not installed. You will need to install these gems manually.
It skips the mysql gem which needs special flags set to compile 64 bit code.
Author: Kris Leech ("moc.tcenokretni@hceel.sirk".reverse)
Recommend me on Working with Rails (http://workingwithrails.com/person/5149-kris-leech)
Copyright (c) 2010 Kris Leech, released under the MIT license