• ruby 下应该是 shoes

  • gem sources 加不上 taobao.org at 2015年04月16日

    #2 楼 @kgen

    hao@linux-qtew:~> cat /etc/resolv.conf
    ### Please remove (at least) this line when you modify the file!
    search site
    #nameserver 223.5.5.5
    #nameserver 223.6.6.6
    nameserver 192.168.1.1
    hao@linux-qtew:~> nslookup https://ruby.taobao.org      
    Server:         192.168.1.1
    Address:        192.168.1.1#53
    
    Non-authoritative answer:
    https://ruby.taobao.org canonical name = www.gslb.taobao.com.danuoyi.tbcache.com.
    Name:   www.gslb.taobao.com.danuoyi.tbcache.com
    Address: 121.18.239.251
    Name:   www.gslb.taobao.com.danuoyi.tbcache.com
    Address: 61.182.138.251
    Name:   www.gslb.taobao.com.danuoyi.tbcache.com
    Address: 121.18.239.151
    Name:   www.gslb.taobao.com.danuoyi.tbcache.com
    Address: 121.18.239.241
    
    hao@linux-qtew:~> gem sources -a https://ruby.taobao.org
    Error fetching https://ruby.taobao.org:
            Errno::ECONNREFUSED: Connection refused - connect(2) for "your-dns-needs-immediate-attention.site" port 443 (https://your-dns-needs-immediate-attention.site/specs.4.8.gz)
    
    hao@linux-qtew:~> cat /etc/resolv.conf
    ### Please remove (at least) this line when you modify the file!
    search site
    nameserver 223.5.5.5
    nameserver 223.6.6.6
    #nameserver 192.168.1.1
    hao@linux-qtew:~> nslookup https://ruby.taobao.org
    Server:         223.5.5.5
    Address:        223.5.5.5#53
    
    Non-authoritative answer:
    https://ruby.taobao.org canonical name = www.gslb.taobao.com.danuoyi.tbcache.com.
    Name:   www.gslb.taobao.com.danuoyi.tbcache.com
    Address: 121.18.239.151
    Name:   www.gslb.taobao.com.danuoyi.tbcache.com
    Address: 61.182.138.241
    Name:   www.gslb.taobao.com.danuoyi.tbcache.com
    Address: 121.18.239.141
    Name:   www.gslb.taobao.com.danuoyi.tbcache.com
    Address: 61.182.138.251
    hao@linux-qtew:~> gem sources -a https://ruby.taobao.org
    Error fetching https://ruby.taobao.org:
            Errno::ECONNREFUSED: Connection refused - connect(2) for "your-dns-needs-immediate-attention.site" port 443 (https://your-dns-needs-immediate-attention.site/specs.4.8.gz)
    
    
  • #1 楼 @karmue 打包应该简单,就是想问问有没有用 ruby 写此类脚本,相比 E 语言好不好写?