<分区>
我是 Ruby on Rails 的新手。我的后端是 PostgreSql。当我尝试使用命令安装 postgre sql 时
$ gem install pg
$ gem install ruby-postgres
我收到以下错误。
WARNING: Error fetching data: Errno::ENETUNREACH: A socket operation was attempted to an unreachable network. - connect(2) (http://rubygems.org/l
atest_specs.4.8.gz)
ERROR: Could not find a valid gem 'pg' (>= 0) in any repository
ERROR: Possible alternatives: pg
我在 windows 7 平台上使用 eclipse IDE。我已经使用以下命令设置了代理
$ http_proxy="http:/192.168.xx.xxx:xxxx"