Reputation: 9910
Is there a way to install compass and compass_radix offline?
I get the following when I attempt a command line installation:
sudo gem install compass
WARNING: Error fetching data: bad response Service Unavailable 503 (http://rubygems.org/latest_specs.4.8.gz)
WARNING: Error fetching data: bad response Service Unavailable 503 (http://rubygems.org/specs.4.8.gz)
Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
Successfully installed compass-1.0.3
1 gem installed
Installing ri documentation for compass-1.0.3...
Installing RDoc documentation for compass-1.0.3...
sudo gem install compass_radix
WARNING: Error fetching data: bad response Service Unavailable 503 (http://rubygems.org/latest_specs.4.8.gz)
ERROR: Could not find a valid gem 'compass_radix' (>= 0) in any repository
ERROR: Possible alternatives: compass_radix
Upvotes: 0
Views: 3904
Reputation: 712
If it's a firewall issue, you can also download gems directly via browser:
Note that you will need those gems' runtime dependencies as well.
The other alternative is to download them from a computer where you do have internet access using gem fetch
gem fetch compass
gem fetch compass_radix
If the second scenario, put those files on a USB key and bring them over to the other computer without internet and install using the format
cd <directory where gemfiles are>
gem install ./compass-x.x.x.gem
gem install ./compass_radix-x.x.x.gem
You should store all gems in the same directory (compass, compass_radix and all runtime dependencies) before attempting gem install <gemfile>
.
Upvotes: 2