Skip to content

Instantly share code, notes, and snippets.

@jwalsh
Created September 13, 2010 21:58
Show Gist options
  • Save jwalsh/578134 to your computer and use it in GitHub Desktop.
Save jwalsh/578134 to your computer and use it in GitHub Desktop.
#!/bin/sh
#sudo gem install compass
# This will generate the following error:
# ERROR: While executing gem ... (Gem::RemoteSourceException)
# HTTP Response 302 fetching http://gems.rubyforge.org/yaml
sudo gem install rubygems-update --source http://production.s3.rubygems.org/
sudo gem update --system --source http://production.s3.rubygems.org/
sudo gem install compass
@jwalsh
Copy link
Author

jwalsh commented Sep 13, 2010

jwalshmac:bin jwalsh$ sudo gem install compass
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 302 fetching http://gems.rubyforge.org/yaml
jwalshmac:bin jwalsh$ sudo gem update --system
Updating RubyGems...
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 302 fetching http://gems.rubyforge.org/yaml
jwalshmac:bin jwalsh$ sudo gem install rubygems-update
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 302 fetching http://gems.rubyforge.org/yaml
jwalshmac:bin jwalsh$ sudo gem install rubygems-update --source http://production.s3.rubygems.org/
Updating metadata for 1 gems from http://production.s3.rubygems.org/
.
complete
Successfully installed rubygems-update-1.3.6
1 gem installed
Installing ri documentation for rubygems-update-1.3.6...
Installing RDoc documentation for rubygems-update-1.3.6...
Could not find main page README
Could not find main page README
Could not find main page README
Could not find main page README
jwalshmac:bin jwalsh$ sudo gem update --system
Updating RubyGems...
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 302 fetching http://gems.rubyforge.org/yaml
jwalshmac:bin jwalsh$ sudo gem update --system --source http://production.s3.rubygems.org/
Updating RubyGems...
Updating metadata for 1 gems from http://production.s3.rubygems.org/
.
complete
Attempting remote update of rubygems-update
Successfully installed rubygems-update-1.3.6
1 gem installed
Installing ri documentation for rubygems-update-1.3.6...
Installing RDoc documentation for rubygems-update-1.3.6...
Could not find main page README
Could not find main page README
Could not find main page README
Could not find main page README
Updating version of RubyGems to 1.3.6
Installing RubyGems 1.3.6
RubyGems 1.3.6 installed

...RubyGems installed the following executables:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem

RubyGems system software updated
jwalshmac:bin jwalsh$ sudo gem install compass
Successfully installed haml-3.0.18
Successfully installed compass-0.10.5
2 gems installed
Installing ri documentation for haml-3.0.18...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment