Najati Imam wrote:
> [some nonsense ...]
> Forbidden 403 (http://gems.rubyforge.org/latest_specs.4.8.gz)
> [nonsense continues ...]
So it seems as though my proxy is filtering based on User-Agent. I got
gem to install rails by changing gem's remote_fetcher.rb. In def request
you'll find
ua = "RubyGems/#{Gem::RubyGemsVersion} #{Gem::Platform.local}"
ua << " Ruby/#{RUBY_VERSION} (#{RUBY_RELEASE_DATE}"
ua << " patchlevel #{RUBY_PATCHLEVEL}" if defined? RUBY_PATCHLEVEL
ua << ")"
I replaced all of this with a blatant lie:
ua = "Wget/1.9.1"
and gem worked just fine, so it seems.
I know there are others around the World Wide Web that are having
similar issues. Without knowing how many of them are caused by this
issue: maybe it would be worth the little bit of effort to make
User-Agent a gem parameter?
Live long and prosper,
Najati
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---