On Oct 21, 2:04 pm, "manikanda r." <[email protected]> wrote:
> -----------------------------------------------------------------
> $ gem install rails --version 3.0.0
> ERROR:  Could not find a valid gem 'rails' (= 3.0.0) in any repository
> ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
>     Errno::EPERM: Operation not permitted - connect(2)
> (http://rubygems.org/late
> st_specs.4.8.gz)
>
> The other thread also the same issue. But the answer was "Maybe you need
> to connect the internet via proxy?
>
> and the user "anon_comp (Guest)" was able to solve the issue & his
> comment was "Success, it was merely my server blocking gem. Thanks for
> the help!
>
> How did you solve it? Pls give detailed steps.? ..
>

gem help install

see for --http-proxy option which accepts an URI or use HTTP_PROXY
environment variable:

gem install foo --http-proxy=http://user:pass@server:port/

Hope that helps,
--
Luis Lavena

-- 
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.

Reply via email to