GuyK
2009-Jun-10 08:56 UTC
install pb(solved) : http://gems.rubyforge.org/ does not appear to be a repository
I''m installing ruby on rails on my local windows laptop, piece of cake, ruby is adult now, so I thought... http://rubyonrails.org/download is clear : install ruby with windows installer, ok download gems, unzip and "ruby setup.rb", ok but "gem install rails" tells : "http://gems.rubyforge.org/ does not appear to be a repository" here I groan, is it the proxy ? no, is it a real message ? (gems.rubyforge is not a repository!?). what are those kind of incomplete installations. in google many people are in the same sh..case. the solution : 1) it is a connection problem to repository : gem install rails --debug Exception `NameError'' at C:/guy/app/Ruby/lib/ruby/site_ruby/1.8/ rubygems/command_manager.rb:161 - uninitialized constant Gem::Commands::InstallCommand Exception `Gem::LoadError'' at C:/guy/app/Ruby/lib/ruby/site_ruby/1.8/ rubygems.rb:826 - Could not find RubyGem sources (> 0.0.1) Exception `Errno::ETIMEDOUT'' at C:/guy/app/Ruby/lib/ruby/1.8/net/ http.rb:560 - Une tentative de connexion a ÚchouÚ car le parti connectÚ n''a pas rÚpondu convenablement au-delÓ d''une certaine durÚe ou une connexion Útablie a ÚchouÚ car l''h¶te de connexion n''a pas rÚpondu. - connect(2) Exception `Gem::RemoteFetcher::FetchError'' at C:/guy/app/Ruby/lib/ruby/ site_ruby/1.8/rubygems/remote_fetcher.rb:172 - Errno::ETIMEDOUT: Une tentative de connexion a ÚchouÚ car le parti connectÚ n''a pas rÚpondu convenablement au-delÓ d''une certaine durÚe ou une connexion Útablie a ÚchouÚ car l''h¶te de connexion n''a pasrÚpondu. - connect(2) (http:// gems.rubyforge.org/latest_specs.4.8.gz) Exception `#<Class:0x2c94d14>'' at C:/guy/app/Ruby/lib/ruby/1.8/ timeout.rb:60 - execution expired Exception `Timeout::Error'' at C:/guy/app/Ruby/lib/ruby/1.8/timeout.rb: 74 - execution expired Exception `Gem::RemoteFetcher::FetchError'' at C:/guy/app/Ruby/lib/ruby/ site_ruby/1.8/rubygems/remote_fetcher.rb:170 - timed out (http:// gems.rubyforge.org/specs.4.8.gz) Exception `#<Class:0x2c9140c>'' at C:/guy/app/Ruby/lib/ruby/1.8/ timeout.rb:60 - execution expired Exception `Timeout::Error'' at C:/guy/app/Ruby/lib/ruby/1.8/timeout.rb: 74 - execution expired Exception `Gem::RemoteFetcher::FetchError'' at C:/guy/app/Ruby/lib/ruby/ site_ruby/1.8/rubygems/remote_fetcher.rb:170 - timed out (http:// gems.rubyforge.org/yaml) ERROR: http://gems.rubyforge.org/ does not appear to be a repository Exception `Gem::RemoteFetcher::FetchError'' at C:/guy/app/Ruby/lib/ruby/ site_ruby/1.8/rubygems/spec_fetcher.rb:155 - timed out (http:// gems.rubyforge.org/yaml) Exception `Gem::GemNotFoundException'' at C:/guy/app/Ruby/lib/ruby/ site_ruby/1.8/rubygems/dependency_installer.rb:200 - could not find gem rails locally or in arepository ERROR: could not find gem rails locally or in a repository error message should be "Timeout" instead of "not a repository" checking : yes unfortunately the site seems overloaded , unbrowseable http://gems.rubyforge.org/gems 2) http://gems.rubyforge.org should be multimirrored yes there are mirrors, but where there is only few gems, 25 on gem list --source http://gems.rubyonrails.org 3) I managed installing gems manually. but not like the other posts I will tell how (to just a "I succeeded! thanks!") gem install rails --source http://gems.rubyonrails.org indicates that "rake" is not up to date, I found a mirror http://de.mirror.rubyforge.org/gems/ and downloaded rake-0.8.7.gem, and gem install rake-0.8.7.gem then gem install rails --source http://gems.rubyonrails.org 4) so..... three hours lost, because of the installation system not working. -http://gems.rubyforge.org is supposed to lead to other mirrors ? this is not working. -in the basic installation there is no backup repositories -there is no manual list of mirrors => guys, you have already built all the tools , you can do as reliable as CPAN or CentOs