On 10/08/2010 02:49 PM, Kristoffer Walker wrote:
I needed to get an older box working again in an emergency, but
something really weird is going on with RubyGems (which had never been
installed on this box before). I did `sudo apt-get install rubygems`
to install it. Then I did `gem search -r jekyll` to confirm the Jekyll
gem was out there. That worked as expected. Then I did `sudo gem
install jekyll` and got `ERROR: could not find gem jekyll locally or
in a repository` in response. Hmmm. So I did `gem search -r jekyll`
again and got `bad response Found 302
(http://gems.rubyforge.org/latest_specs.4.8)`. Hmmmm. Did some
Googling and finally just deleted my `/home/me/.gem/` directory.
I did the gem search command again -- success!; the gem install
command again -- fail! -- (delete .gem/ dir again) -- install command
succeeds.! There must be a way for me to install a gem without having
to delete `.gem/` after every network request?
What version of rubygems is on that box? My guess is that the 8.10
package is pretty old, and first updating that.
sudo gem install rubygems-update
sudo update_rubygems
-Sean
--
__________________________________________________________________
Sean Dague Learn about the Universe with the
sean at dague dot net Mid-Hudson Astronomical Association
http://dague.net http://midhudsonastro.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
_______________________________________________
Mid-Hudson Valley Linux Users Group http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm) MHVLS Auditorium
Nov 3 - Open Source Hardware: Bugs, Beagles and Beyond
Dec 1 - IBM's Open Client Deployment
Jan 5 - Building a Comunity Site with Drupal