- 浏览: 259256 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (263)
- mysql (5)
- boost (6)
- 工具 (10)
- IT生活 (7)
- 多线程 (3)
- Ruby (15)
- php (2)
- MongoDB (39)
- 移动互联网 (2)
- 测试 (8)
- c++ (28)
- 书 (1)
- 网站 (3)
- 网络编程 (14)
- 开源软件 (1)
- 分布式计算 (1)
- 得得得 (1)
- php,wordpress (1)
- error (5)
- 编译 (2)
- 学习 (1)
- 杀毒软件 (1)
- dd (0)
- linux (21)
- 数据库 (1)
- STL (1)
- c++/c (5)
- 软件设计 (1)
- 操作系统 (4)
- 库 (2)
- win32 (1)
- s (0)
- openssl (1)
- perl (2)
- debug (1)
- windows (4)
- python (12)
- windows 防火墙 (1)
- vs (1)
- vim (2)
- vc (1)
- 浏览器插件的危害 (1)
- curl (0)
- 判断手机号码合法性的库 (0)
- 地址备注 (0)
- 安装 File::Slurp (1)
- cenos (2)
- shell (1)
- linunx (1)
- internet (1)
- software (1)
- widows (1)
- linux io (1)
- nginx (2)
- 算法 (2)
- google (1)
- protobuf (2)
- tengine (1)
- tools (1)
- lua (2)
- liunx (1)
- vcard (1)
- lua-iconv (1)
- 网络 (2)
- teat (0)
- ldconfig linux (0)
- awk (0)
- grep (0)
- windws (2)
- linux 命令 (1)
- tcp dump (1)
- vmware (1)
- question2answer (2)
- mongdb (1)
- 正则 (1)
- OCR (2)
- Windows Server (1)
最新评论
使用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
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
发表评论
-
rubuy http
2013-03-28 16:15 627http://ruby-doc.org/stdlib-2.0/ ... -
[转]ruby正则表达式
2013-01-17 18:31 1095ruby正则表达式 Posted on 02/21/2012 ... -
[转]一步一步学Ruby(九):Ruby正则表达式(上)
2013-01-10 17:24 585记录个链接:http://www.cnblogs.com/cn ... -
[转]ruby 中的urlencode和urldecode
2012-07-12 18:40 919方法一: def URLDecode(str) str.g ... -
【转】ruby 杀系统进程
2012-07-12 10:50 727require 'win32ole' #功能说明: #- ... -
【转】ruby 调用其他函数
2012-06-27 19:53 8761、获取其他程序的运行结果 x= system(" ... -
ruby 下载文件到本地
2012-05-19 16:36 1141require 'open-uri' def dow ... -
ruby 解析 xml
2012-05-17 20:16 17661.xml文件如下: <?xml version=&q ... -
gem
2012-04-12 14:00 0gem list gem install gem instal ... -
sublime ruby 编辑器
2012-03-02 19:13 692http://v.youku.com/v_show/id_XM ... -
mongodb 的 ruby 支持安装
2012-02-07 14:01 743帮助文档: 1. http://api.mongodb.org ... -
Ruby 读取文件
2011-11-23 17:17 840读写二进制文件 File.open('in.dat' ... -
Ruby 网络编程
2011-11-03 16:38 935Ruby支持很多网络协议,不管是高层的还是底层的。ruby提供 ... -
ruby中数字与数字字符串相加的原理
2011-08-19 15:41 1060转: http://googya.iteye.com/blog ... -
Ruby invalid multibyte char(US-ASCALL)
2011-08-10 14:08 856需正确输出中文的方法: 在运行脚本文件时,加入相关的参数-Ks ...
相关推荐
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...
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/)
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 ...
# 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快速启动
| 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 gzruby = > source ' http://gems.gzruby.org ' $ chsource tsinghua = > source ' http://mirrors.tuna.tsinghua.edu.cn/rubygems ' $ chsource rubygems = > source ' http://rubygems.org ' ...
特征 功放页面 谷歌分析 分页 404错误页面 SEO Gems: , , 分享按钮使用这个主题只需分叉此存储库,然后重命名为your_github_username.github.io 。在本地计算机上运行此主题要提供这个jekyll主题,请确保您的...
花见::资产 Ruby Web项目的资产管理 地位 接触 主页: : 社区: : 指南: : 邮件列表: : API文件: http : //rdoc....将此行添加到您的应用程序的Gemfile中: gem 'hanami-assets' 然后执行: $ bundl
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 插件 ... (2) 解压到 logstash bin文件夹同级目录 ... (6) 第4部安装异常 可能是由于镜像地址不可访问造成的 替换 Gemfile文件中source行链接为 https://gems.ruby-china.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 -...
Benchmark-ips rdoc :: http://rubydoc.info/gems/benchmark-ips主页:: https://github.com/evanphx/benchmark-ips https://github.com/evanphx/benchmark-ips描述:每秒迭代一次的增强基准-ips rdoc :: ...
设置## 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## ...
而且该GEM的扩展性非常好,只要你写了一个插件放到源码的feature目录,并且这个类实现了fdata方法,那么当发邮件的时候WishMailer将自动把这个插件的内容插入邮件正文. (如果你的feature初始化的时候不需要参数,请在...
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 ...
介绍原型jekyll主题( ...如果你需要对在本地查看效果需要安装ruby环境和依赖# linux下需要gcc# gem sources --add https://gems.ruby-china.com/# gem sources --remove https://rubygems.org/# gem sources --remove ...
# 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流量数据收集工具
# 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 ...
# 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 ...