`

gem 安装 找不到 http://gems.rubyforge.org/

    博客分类:
  • Ruby
阅读更多
使用Gem install安装starling出错 ERROR: http://gems.rubyforge.org/ does not appear to be a rep

starling是一个ruby写的开源的消息队列服务器,具体介绍和安装可以参见:
http://www.ooso.net/archives/506
今天为服务器安装starling的时候出现了下面的异常。简单说下解决方法。
执行gem install memcache-client starling的时候出现了:
C-sharp代码
ERROR: http://gems.rubyforge.org/ does not appear to be a rep 
ERROR: could not find gem mysql locally or in a repository 
原因是伟大的GFW把http://gems.rubyforge.org/给屏蔽了。
解决方法有两种:
1.去http://rubyforge.org找到相应的gem文件下载,然后执行本地安装。
2.使用代理安装:
C-sharp代码
gem install --http-proxy http://61.7.241.18:3128 memcache-client starling  
我使用代理安装成功。代理地址可以在这里找:http://www.cnproxy.com/

转自: http://oraclestudy.iteye.com/blog/1232841
分享到:
评论

相关推荐

    freedesktop.org.xml内容错误解决方案文件

    Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: C:/Ruby26/lib/ruby/gems/2.6.0/gems/mimemagic-0.3.10/ext/mimemagic C:/Ruby26/bin/ruby.exe -rrubygems C:/Ruby26/lib...

    GLSViewer.zip_3d_3d obj_GLSViewer_obj bmp_smd

    A fast 3D mesh viewer. Released as Freeware and open-sourced ...- GraphicEx (http://www.delphi-gems.com) - RxLib (http://sourceforge.net/projects/rxlib) - UPX (http://upx.sourceforge.net/)

    ruby and watir 安装指南

    C:\>gem envRubyGems Environment: - VERSION: 0.9.4 (0.9.4) - INSTALLATION DIRECTORY: c:/ruby/lib/ruby/gems/1.8 - GEM PATH: - c:/ruby/lib/ruby/gems/1.8 - REMOTE SOURCES: - http://gems.rubyforge.org ...

    jekyll-blog-master.zip

    # bundle config mirror.https://rubygems.org https://gems.ruby-china.com bundle exec jekyll serve --watch --host=0.0.0.0 --port=8080 如果是 windows 系统,环境搭建好后可以运行项目下的cli.bat快速启动

    rubyinstaller-devkit-2.5.7-1-x64.zip

    | 8 | gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ | 更换源[https://gems.ruby-china.com](https://gems.ruby-china.com/) | | 9 | jekyll new myblog | 初始化默认博客 | |...

    chsource:更改 Gemfile 以快速使用 3rd 方来源

    $ chsource gzruby = > source ' http://gems.gzruby.org ' $ chsource tsinghua = > source ' http://mirrors.tuna.tsinghua.edu.cn/rubygems ' $ chsource rubygems = > source ' http://rubygems.org ' ...

    paulaalves.github.io

    特征 功放页面 谷歌分析 分页 404错误页面 SEO Gems: , , 分享按钮使用这个主题只需分叉此存储库,然后重命名为your_github_username.github.io 。在本地计算机上运行此主题要提供这个jekyll主题,请确保您的...

    assets:Ruby Web应用程序的资产管理

    花见::资产 Ruby Web项目的资产管理 地位 接触 主页: : 社区: : 指南: : 邮件列表: : API文件: http : //rdoc....将此行添加到您的应用程序的Gemfile中: gem 'hanami-assets' 然后执行: $ bundl

    GPU Gems2.CHM[EN - htm to chm]

    This sequel to the best-selling, first volume of GPU Gems details the latest programming techniques for today’s graphics processing units (GPUs). As GPUs find their way into mobile phones, handheld ...

    logstash-input-mongodb-master.zip

    安装 logstash-input-mongodb 插件 ... (2) 解压到 logstash bin文件夹同级目录 ... (6) 第4部安装异常 可能是由于镜像地址不可访问造成的 替换 Gemfile文件中source行链接为 https://gems.ruby-china.com/ 安装

    maoruibin.github.com:个人博客

    ruby 环境和依赖# linux下需要gcc# gem sources --add https://gems.ruby-china.com/# gem sources --remove https://rubygems.org/# gem sources --remove https://mirrors.aliyun.com/rubygems/# gem sources -...

    提供Ruby的每秒迭代基准测试-Ruby开发

    Benchmark-ips rdoc :: http://rubydoc.info/gems/benchmark-ips主页:: https://github.com/evanphx/benchmark-ips https://github.com/evanphx/benchmark-ips描述:每秒迭代一次的增强基准-ips rdoc :: ...

    icai.github.io:使用Jekyll的博客

    设置## chinabundle config mirror.https://rubygems.org https://gems.ruby-china.com## install nodejscurl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs## ...

    WishMailer

    而且该GEM的扩展性非常好,只要你写了一个插件放到源码的feature目录,并且这个类实现了fdata方法,那么当发邮件的时候WishMailer将自动把这个插件的内容插入邮件正文. (如果你的feature初始化的时候不需要参数,请在...

    cluster.zip

    2.在某个集群下进行密码初始化(和config里面密码一致):/usr/local/share/gems/gems/redis-3.1.0/lib/redis/client.rb 3.使用redis-trib.rb初始化集群:redis-trib.rb create --replicas 1 127.0.0.1:7391 ...

    reindeerup.github.io:我的博客

    介绍原型jekyll主题( ...如果你需要对在本地查看效果需要安装ruby环境和依赖# linux下需要gcc# gem sources --add https://gems.ruby-china.com/# gem sources --remove https://rubygems.org/# gem sources --remove ...

    mcsmallfeng.github.io-backup:请不要添加或删除文件。 如果发现错误,请发送电子邮件至pyqzpxm@outlook.com谢谢

    # gem sources --add https://gems.ruby-china.com/ # gem sources --remove https://rubygems.org/ # gem sources --remove https://mirrors.aliyun.com/rubygems/ # gem sources -l gem install bundler # bundle ...

    sflowtool-sflow流量数据收集工具

    sflowtool是一个sflow流量数据收集工具

    yoyofee.github.io

    # gem sources --add https://gems.ruby-china.com/ # gem sources --remove https://rubygems.org/ # gem sources --remove https://mirrors.aliyun.com/rubygems/ # gem sources -l gem install bundler # bundle ...

    nanfeng.GitHub.io

    # gem sources --add https://gems.ruby-china.com/ # gem sources --remove https://rubygems.org/ # gem sources --remove https://mirrors.aliyun.com/rubygems/ # gem sources -l gem install bundler # bundle ...

Global site tag (gtag.js) - Google Analytics