我是 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"