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

huacnlee@gmail.com
长桥证券 (Longbridge)
成都
502 篇帖子 / 9058 条回帖
959 关注者
53 正在关注
105 收藏
打赏作者
GitHub Public Repos
  • autocorrect 1387

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

  • rails-settings-cached 1098

    Global settings for your Rails application.

  • rucaptcha 695

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

  • zed-theme-macos-classic 91

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

  • vscode-macos-classic.t... 21

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 18

    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-gradient 5

    Generate a Gradient like CSS

  • gpui-workspace 4

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

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 求 Nginx + Unicorn 部署 Rails 完整配置 at 2011年12月14日

    给你看看 ruby-china 的配置 Nginx 配置

    http {
    
      .... 省略其他的
    
      upstream ruby_china_backend {
        server unix:/tmp/unicorn.ruby-china.sock fail_timeout=0;
      }
    
      server {
        listen 80;
        server_name ruby-china.org;
    
        root /home/ruby/www/ruby-china/current/public;
    
        location ~* ^(/assets|/favicon.ico) {
          access_log        off;
          expires           max;
        }
    
        location / {
          proxy_redirect     off;
          proxy_set_header   Host $host;
          proxy_set_header   X-Forwarded-Host $host;
          proxy_set_header   X-Forwarded-Server $host;
          proxy_set_header   X-Real-IP        $remote_addr;
          proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
          proxy_buffering    on;
          proxy_pass         http://ruby_china_backend;
        }
      }
    }
    

    unicorn.rb 可以在代码库里面看到: https://github.com/huacnlee/ruby-china/blob/master/config/unicorn.rb

  • 中文 Railscast 第一期上线 at 2011年12月14日

    哥来抢占 100 楼

  • 有用过盛大云 or 阿里云的吗? at 2011年12月14日

    盛大目前也是无法直接升级,需要更换

  • 社区 Logo 出来了 at 2011年12月13日

    话说人家设计师帮忙那顿饭我还没请呢,哈哈哈

  • Ruby China 在盛大云是用什么镜像的? at 2011年12月13日

    其实我感觉 Ubuntu Server 最喜欢的版本是 9.04,这个之前公司的服务器上面用了很久一直很稳定

  • Ruby China 在盛大云是用什么镜像的? at 2011年12月13日

    是的

  • MongoDB 生产环境的安装与配置 (Ubuntu) at 2011年12月13日

    赞!

  • nginx 403 Forbidden 的问题解决 at 2011年12月13日

    文件权限的问题

  • 3.x 最新特性,开发环境只加载更新的文件了。 at 2011年12月13日

    这个是最近提交的?

  • 听说 TextMate 2 出泄漏版本了啊! at 2011年12月13日

    TextMate 2 RC 下载链接: http://multiupload.com/VA06QA4MI0

  • 能不能加个收藏帖子的功能? at 2011年12月12日

    帖子正文右下角,“心”那个图标

  • Ruby China 在盛大云是用什么镜像的? at 2011年12月12日

    可以自己搞镜像的,我一开始是用 Ubuntu Server 8.04 出来的,后面有定制了一个,不过还没用上

  • 那些技术名词的读音问题 at 2011年12月12日

    #15 楼 @ashchan 我是会,只是不太确定是否正确

  • 中文 Railscast 第一期上线 at 2011年12月11日

    #88 楼 @poshboytl 页脚加链接予以支持你!

  • 中文 Railscast 第一期上线 at 2011年12月11日

    #88 楼 @poshboytl 赞啊!

  • 那些技术名词的读音问题 at 2011年12月11日

    还有: Redis Sphinx Solr Carrierwave Formtastic Homebrew ...

  • Ruby 除了 Rails 还能做什么 at 2011年12月10日

    淘宝里面有一组测试团队就是用 Ruby 搞

  • 如何建立 rails 的后台管理系统 cpanel rails g controller 这个命令如何带目录啊? at 2011年12月10日
    $ rails g scaffold_controller cpanel/posts title:string body:text
    
  • 如何升级 Ruby 项目 at 2011年12月10日

    我已经修好了

  • Rails 3.1 的 404 500 页面怎么处理? at 2011年12月09日

    由于是数字的,不能作为 action name,实现起来有点麻烦,我也还在研究

  • 鼓捣一下更快速的 model unit tests at 2011年12月09日

    如果是这样,那不是要复制每个 Model 的代码出来? 瞎扯一下,Sublime Text 的 UI 太丑

  • Rails 3.1 的 404 500 页面怎么处理? at 2011年12月09日

    去掉 public 目录的 404 和 500,然后建立这两个 action, 并设置 caches_page 发布的时候自动删除 public/ 里面的 404 和 500 这个也是上周 Ruby Tuesday 杭州讨论出来的小技巧

  • 哥搞 Rubygems 镜像,跑最后补的 gem generate_index 一直失败 at 2011年12月09日

    设置为 20000 还是遇到同样的问题,并且无法设置更高了

  • Nothing Is For Beginners at 2011年12月09日

    #11 楼 @chechaoyang 好像现在提交回复是有导致重复的 Bug,都已经第 4 次了

  • Nothing Is For Beginners at 2011年12月09日

    DHH 一波激起千层浪啊!

  • 哥搞 Rubygems 镜像,跑最后补的 gem generate_index 一直失败 at 2011年12月09日

    #3 楼 @hooopo 15W 的 Gem 不知道该设置多少呢

  • 哥搞 Rubygems 镜像,跑最后补的 gem generate_index 一直失败 at 2011年12月09日

    #1 楼 @hooopo 我再试试看

  • [深圳][小恩爱 xiaoenai.com] 寻人启示,自认为很 2 的童鞋看过来 at 2011年12月09日

    给我个邀请呀,看看做得什么样子,另外你们现在是 PHP 写的啊

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