Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
李华顺
@huacnlee
管理员
第 2 位会员 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 篇帖子 / 9058 条回帖
959 关注者
53 正在关注
105 收藏
打赏作者
GitHub Public Repos
  • autocorrect 1412

    A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuation...

  • rails-settings-cached 1104

    Global settings for your Rails application.

  • rucaptcha 697

    Captcha Gem for Rails, which generates captcha image by Rust.

  • zed-theme-macos-classic 97

    A macOS native style theme for Zed, let it same like native app in macOS.

  • vscode-macos-classic.t... 22

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 19

    GitHub Action for automatically bump Zed Extensions version after a release.

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-workspace 4

    Dock layout UI component for GPUI, that extracted from Zed project.

  • zed-lalrpop 3

    LALRPOP parser grammar support for Zed.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 部署完后,如需修改部分代码,从哪入手 at 2016年12月07日

    #4 楼 @W3INFO Docker 部署的方式不提供定制,如果你想定制,请从源代码 Fork 出去修改,并独立部署。

    至于怎么改,怎么部署得你自己研究了。

  • 部署完后,如需修改部分代码,从哪入手 at 2016年12月07日

    你想修改什么?

  • 部署完 homeland 之后 Request Header Or Cookie Too Large at 2016年12月07日

    清除 Cookie

  • [上海] Autodesk 招聘 Senior Ruby Engineer 2 名 at 2016年12月05日

    https://ruby-china.org/topics/28214

    重复发帖

  • Sidekiq worker 中调用 Java at 2016年12月05日

    让你们公司那个服务提供 HTTP 的接口不就好了?

  • 请教连接远程数据库 MySQL 总是间隔 4 分钟左右就断开 at 2016年12月05日

    pool 要改成最大线程数量,也就是 16

    If you are using the Puma web server we recommend setting the pool value to equal ENV['RAILS_MAX_THREADS']. When using multiple processes each process will contain its own pool so as long as no worker process has more than ENV['RAILS_MAX_THREADS'] then this setting should be adequate.

    如果你使用 Puma,我们建议你设置 database pool 的值和 Puma 的 max threads 配置相同。而当 Puma 同时使用多进程的时候,每个进程会有它自己的数据库连接池,所以只需要设置 max threads 就足够了。

    例如当 Puma 配置

    workers 4
    threads 16, 64
    

    那么 database.yml 只需要配置 pool: 64 就可以了,而无须乘以进程数 (workers)。


    此外,还需要注意,加入你还有 Sidekiq 之类的东西,也需要注意 Sidekiq 的 concurrency 参数,例如当 Sidekiq 的 concurrency 配置大于 64 的时候,应当选择大的数值。

    https://devcenter.heroku.com/articles/concurrency-and-database-connections

  • 网页版账户登陆不了 at 2016年12月04日

    查了很久,就是没有查到原因

  • 如何在爬虫中运行网页中的 JavaScript at 2016年12月03日

    Ruby 的爬虫世界 · Ruby China https://ruby-china.org/topics/31784

  • homeland 部署成功后出现错误,请教下大神 at 2016年12月03日

    #6 楼 @id 缺少 admin_emails 的配置

    具体请看配置介绍的文档

  • Ruby + OMR JIT 简介 at 2016年12月02日

    Our current Ruby + OMR changes are based on Ruby 2.2.

    看 GitHub 上以及是支持 Ruby 2.2 了

  • homeland 部署成功后出现错误,请教下大神 at 2016年12月02日
    $ tail homeland-docker/log/production.log
    

    然后刷新出错的页面,看看是什么错误!

  • homeland 部署成功后出现错误,请教下大神 at 2016年12月02日

    当然要配置啊

    先阅读这个 http://gethomeland.com/docs/

  • homeland 部署成功后出现错误,请教下大神 at 2016年12月02日
    1. make status 发出来看看
    2. 进入网站后台,看看“异常”里面有什么信息
    3. 网站地址发给我看看
  • [北京] [可远程] 产学联招聘中级 Ruby 工程师 1 名 (15-20k) at 2016年12月01日

    #2 楼 @zhupeiyan 哦 😄

  • [北京] [可远程] 产学联招聘中级 Ruby 工程师 1 名 (15-20k) at 2016年12月01日

    听说同样改了代码的某创业内容网站被蚂蚁金服收购了,现在也改叫金融信息服务公司了。

    哪家?

  • 做了一个关于换源的小工具 at 2016年12月01日

    #4 楼 @Artoria 哎,说这么多,不知道你在说什么

    你搞这个东西还是在于你自身的问题:

    • 国内镜像据我了解的情况除了 https://gems.ruby-china.org 这个,其他的可用性是打问号的。所以你不要浪费时间搞什么切换了,没有意义的,你只有两条路,要么用 Ruby China 这个,要么翻墙用官方的。
    • 为何你不能用 Linux 或 macOS 环境开发?Ruby 以及 Rails 的各类生态圈本身就对 Windows 支持不好。
    • 怎么可能用百度搜索这种方式,你搞了 Mirror List 手工维护也比百度搜索这种方法靠谱啊!

    所以,你还是安安心心换一种环境,不要在错误的道路上一条路走到死,还为了错误的路搞一些无用的解决方案。

  • 请问取符合正整数或小数点后两位的小数,Ruby 正则表达式 at 2016年12月01日
    irb> num = 2.45678291
    irb> num.to_s.split('.').last[0,2]
    45
    
  • Thin 的疑似内存泄漏 at 2016年11月30日

    用 Puma 啊,Thin 现在没维护了吧

  • Elixir 会成为明日之星么?似乎是 at 2016年11月30日

    #17 楼 @hisea 第一条有的 qor

  • 被 first_or_create、find_or_create_by、find_by_xxx_or_create 搞晕了 at 2016年11月30日

    让 我 来 帮 你 搜 索 ...

    https://www.google.com.hk/search?q=Rails+API+find_or_create_by http://api.rubyonrails.org/classes/ActiveRecord/Relation.html#method-i-find_or_create_by

  • 安装 Rails 失败,多次尝试未果 at 2016年11月30日

    看错误信息是两个问题:

    1. Nokogiri 安装失败,原因是缺少库(libxml2, libxslt),请用 RVM 安装 Ruby 就会带这些东西,或者参考 Nokogiri Building native extensions
    2. Could not find 'mini_portile2' (~> 2.1.0)
  • counter_cache 什么时候在数据库建立 count 字段 at 2016年11月30日

    要自己建立的

  • 出错信息做的这么美,我都不想看正常的页面了 at 2016年11月28日

    看久了你就不觉得好了

  • rbenv 发布了 v1.1.0 版本 at 2016年11月28日

    居然没有一行脚本的安装方式...

  • rbenv 发布了 v1.1.0 版本 at 2016年11月28日

    让我来换他试试一段时间

  • Docker 安装 homeland at 2016年11月26日

    #13 楼 @id 内存不够,搜索服务没跑起来

  • Docker 安装 homeland at 2016年11月25日

    #10 楼 @laofo Ruby China 的单独部署的,没必要用 Docker 我们需要定制化的配置

    Docker 的部署方式就是为了其他人使用便捷安装的

  • Docker 安装 homeland at 2016年11月25日

    #10 楼 @laofo PostgreSQL 的数据库文件都在 data 目录

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