Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Sevk
@sevk
高级会员
第 681 位会员 / 2012-01-05

嘉兴
47 篇帖子 / 934 条回帖
10 关注者
1 正在关注
37 收藏
Sevk
打赏作者
GitHub Public Repos
  • kk-irc-bot 55

    irc-bot , like a human

  • rustdesk 0

    An open-source remote desktop, and alternative to TeamViewer.

  • rustdesk-server 0

    RustDesk Server Program

  • notepad4 0

    Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with ...

  • VB6toRuby-tk 0

    vb6 code to ruby code auto convert

  • qqwry 0

    纯真IP数据库,每天从官方授权方式自动抓取最新文件

  • linux-wifi-hotspot 0

    Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. I...

  • VB6-Compression 0

    VB6 wrappers for modern compression libraries

  • Dism-Multi-language 0

    Dism++

  • HumanSystemOptimization 0

    健康学习到150岁 - 人体系统调优不完全指南

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Ruby 1.8 如何在正则中匹配所有国家语言的字符? at 2013年03月04日

    2.0 才是王道。

    要不是因为 exerb , 我早删了 1.8 了。

  • 你的 MBP 外表静电厉害吗 at 2013年03月03日

    如果不专业,装修时三头也可能零线 火线搞反。

  • puts 命令怎么在终端输出一个换行符? at 2013年03月01日

    #3 楼 @valentine 她用的是单引号,所以 print 也没用。

  • 升级 ruby 2.0 吧 vim 不好用了 at 2013年03月01日

    你的 vim 动态加载了一个固定的文件 : /Users/Daniel-Xu/.rvm/rubies/ruby-1.9.3-p327/lib/libruby.1.9.1.dylib

    你可以手工建立这个文件试试:ln -s libruby2.0.dylib /Users/Daniel-Xu/.rvm/rubies/ruby-1.9.3-p327/lib/libruby.1.9.1.dylib

  • 升级 ruby 2.0 吧 vim 不好用了 at 2013年03月01日

    我的 vim 不是自己编译的,所以没问题。

  • ruby 2.0.0p0 提示 DL is deprecated, please use Fiddle at 2013年03月01日

    估计在 irbrc 里面吧. pry 比 irb 牛:gem install pry

  • 急求助,require ‘debugger’ 出錯 at 2013年03月01日

    require 'readline' require‘debugger’ 试试

  • [已解决] 如何自动从源代码打包 gem 并安装? at 2013年02月28日

    搞定多谢。mizuho +1

  • [已解决] 如何自动从源代码打包 gem 并安装? at 2013年02月28日

    需要手工 git clone git://github.com/FooBarWidget/passenger.git 然后手工 打包 gem 再手工安装 xx.gem ?

  • Rails 4 beta1 is coming today at 2013年02月26日

    rails 肯定没 ruby 的版本兼容性好。

  • ruby 2.0 下,ruby-debug-base19x, debugger 又不能编译了 at 2013年02月26日

    没用过 debugger 的路过,哈哈

  • Ruby 2.0 如何使用最新的 OpenSSL 版本? at 2013年02月26日

    我没指定路径,一样可以。

    rvm pkg install openssl
    rvm install 2.0.0 
    rvm use 2.0.0 --default
    
    
  • Ruby China 开始用 Ruby 2.0 跑了 at 2013年02月26日

    #34 楼 @bony iconv 早就不用了,1.9.3 的时候就不用 iconv 了

    class String   
       def code_a2b(a,b)
          if defined? Encoding::Converter
            Encoding::Converter.new(a,b, :universal_newline => true).convert self rescue self
          else
            Iconv.conv( b , a ,self)
          end
       end
    end
    
    
  • rails 旧版,如何升级到新版尼 at 2013年02月25日

    我都是 rvm get head,应该和 stable 差不多。

  • Ruby China 开始用 Ruby 2.0 跑了 at 2013年02月25日

    估计 gem 都需要重新运行 bundle 安装一下吧? 2.0 不需要 faye 了吧?

  • Ruby-2.0.0-p0 at 2013年02月25日

    #38 楼 @valentine 那我还是 bundle 好了

  • Ruby-2.0.0-p0 at 2013年02月25日

    #36 楼 @valentine migrate 是移动?那 1.9 下面还在吗?

  • Ruby China 开始用 Ruby 2.0 跑了 at 2013年02月25日

    收到,需要花时间仔细看看

  • Ruby China 开始用 Ruby 2.0 跑了 at 2013年02月25日

    1.9 到 2.0 , 好像是全兼容的?

  • Ruby-2.0.0-p0 at 2013年02月25日

    用 rvm 安装了 2.0 , 如何共享 1.9 的 gem 过来?

  • 在有代理的环境的 Rubyist 是如此痛苦 at 2013年02月25日

    debian 有全局 proxy 配置吧,没有就自己写个 iptables 规则试试

  • bundle install 一直报错 at 2013年02月21日

    #7 楼 @ottoyes 和主题无关。我随便写写的。

  • Sequel 这个 Gem 有谁用过? at 2013年02月21日

    -C 是导出的意思。 就是把 mysql2 的数据库导出到 sqlite3 同时连接也是这样写的,差不多。

  • FLOWS = %w [量多 量少 适中 无] 用 each do |k, v|,v 为空 at 2013年02月21日

    莫非你想用 each_slice(2) 方法? http://www.ruby-doc.org/core-1.9.3/Enumerable.html#method-i-each_slice

  • 怎么样才能只读取一次 YAML 文件 at 2013年02月20日

    笨办法:

    $a = YAML.load_xxx if not defined? $a
    
  • Sequel 这个 Gem 有谁用过? at 2013年02月19日

    我只用过 sequel -C 参数:

    sequel mysql2://xx:xx@xxxxx/xxxx -C sqlite3://xxx.sqlite
    
  • 请问如何使用 rails 编写一个实现远程登录 ubuntu 服务器的 web 程序? at 2013年02月19日

    如果要登录桌面,openvnc 自带 web 控制,可以嵌入网页。 ssh 就用 ruby-ssh

  • 让 ruby 5 秒之后执行一个任务 at 2013年02月18日

    sleep n #一般实际 sleep 的时间 >= n

  • 上一页
  • 1
  • 2
  • …
  • 20
  • 21
  • 22
  • 23
  • 24
  • …
  • 29
  • 30
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English