Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
张大贝
@iamzhangdabei
高级会员
第 1207 位会员 / 2012-02-27

暴走漫画
南京
12 篇帖子 / 112 条回帖
3 关注者
1 正在关注
10 收藏
GitHub Public Repos
  • ruby-openstack-compute 1

    Ruby bindings for Openstack Compute

  • oauth_china 1

    OAuth gem for rails,支持新浪,腾讯,网易,搜狐微博和豆瓣。

  • acts-as-taggable-on 1

    A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.

  • mk 1

  • horizon 1

    Horizon is the dashboard for OpenStack; based on a Django module called django-openstack. Both th...

  • simple-captcha 1

    Rails 3 support now! Simple Captcha is the simplest and a robust captcha plugin. Its implementati...

  • weibo_2 1

    A ruby gem for sina weibo oauth2 api, with examples, and it actually works.

  • rdoc 0

    RDoc produces HTML and online documentation for Ruby projects. RDoc includes the rdoc and ri too...

  • ruby-sdk 0

    Qiniu Resource (Cloud) Storage SDK for Ruby

  • gruff 0

    Gruff graphing library for Ruby

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [南京] 暴走漫画招聘 rails 程序员 (内有无节操图,慎入) at 2013年07月11日

    @jasl

  • [上海][浦东][扩招] 一名 Ruby 工程师 (附靓照)[已结束] at 2013年07月10日

    现在没妹子照片,都不好意思发招聘帖,都不好意思跟人打招呼!

  • 蝉游记网站的部署 Nginx,Unicorn,Capistrano,OOB,Graceful Restart at 2013年07月09日

    #60 楼 @quakewang 还想找个用过云 db 的人了解下性能怎么样呢...

  • 蝉游记网站的部署 Nginx,Unicorn,Capistrano,OOB,Graceful Restart at 2013年07月08日

    #32 楼 @quakewang 请问你们用的是 Ucloud 的云 db,还是用云主机自己搞的数据库?

  • 一个 rails cache Sweeper 的问题,请大家帮忙 at 2013年06月26日

    #1 楼 @huacnlee

    config.active_record.observers << :category_sweeper
    

    这样也是可行的。我有个 model 没有对应的 controller,发现这样也能调用

  • 有拖延习惯的同学进来看看 at 2013年05月14日

    不如设置为把钱转给我。

  • 打算发起南京的活动,看看会有多少响应的? at 2013年05月14日

    #5 楼 @ywencn 欢迎蜗牛哥

  • Unicorn 重启无法加载最新代码 at 2013年03月20日

    #11 楼 @huacnlee 终于找到问题了,

    executing ["/u/apps/momo2/shared/bundle/ruby/1.8/bin/unicorn_rails", "-c", "config/unicorn/production.rb", "-E", "production", "-D"] (in /data/momo2/releases/20130320023602)
    

    还是这一句,发现这个 20130320023602 是老的版本号。于是在 deploy.rb 里面强制

    set :unicorn_path, "#{deploy_to}/current/config/unicorn/production.rb"
    

    以及 unicorn.rb 里面

    app_path = "/u/apps/momo2/current"
    

    这样问题就解决了。

    不过看 unicron 的日志,发现还是从老的版本代码目录里执行的 unicorn_rails 命令 ,不过由于-c 是绝对路径。所以问题还是解决了。

  • Unicorn 重启无法加载最新代码 at 2013年03月20日

    #13 楼 @huacnlee 这个给忘了。。

  • Unicorn 重启无法加载最新代码 at 2013年03月20日

    #11 楼 @huacnlee 还有

    before_fork do |server, worker|
      ActiveRecord::Base.connection.disconnect!
    end
    after_fork do |server, worker|
      ActiveRecord::Base.establish_connection
    end
    

    我发现 ruby-china 的 unicorn 配置中是没有这个的。看来也是不需要了

  • Unicorn 重启无法加载最新代码 at 2013年03月20日

    #3 楼 @huacnlee 注意到我们的 Gemfile.lock 中 unicorn 版本是 unicorn (4.6.2) ruby-china 的版本是 4.2.1 不知道这个有没有影响。

  • Unicorn 重启无法加载最新代码 at 2013年03月20日

    #3 楼 @huacnlee

    I, [2013-03-20T11:49:28.059789 #25639]  INFO -- : executing ["/u/apps/momo2/shared/bundle/ruby/1.8/bin/unicorn_rails", "-c", "config/unicorn/production.rb", "-E", "production", "-D"] (in /data/momo2/releases/20130320023602)
    I, [2013-03-20T11:49:29.255501 #25639]  INFO -- : inherited addr=0.0.0.0:10000 fd=14
    I, [2013-03-20T11:49:29.256125 #25639]  INFO -- : Refreshing Gem list
    /u/apps/momo2/shared/bundle/ruby/1.8/bundler/gems/data_fabric-0f4942f06049/lib/data_fabric/version.rb:3: warning: already initialized constant STRING
    I, [2013-03-20T11:49:42.465743 #25666]  INFO -- : worker=0 ready
    I, [2013-03-20T11:49:42.709021 #25667]  INFO -- : worker=1 ready
    I, [2013-03-20T11:49:42.912091 #25668]  INFO -- : worker=2 ready
    I, [2013-03-20T11:49:43.275840 #25669]  INFO -- : worker=3 ready
    I, [2013-03-20T11:49:43.506652 #25670]  INFO -- : worker=4 ready
    I, [2013-03-20T11:49:43.899766 #25671]  INFO -- : worker=5 ready
    I, [2013-03-20T11:49:43.934232 #19004]  INFO -- : reaped #<Process::Status: pid=19018,exited(0)> worker=5
    I, [2013-03-20T11:49:44.193478 #25672]  INFO -- : worker=6 ready
    I, [2013-03-20T11:49:44.236031 #19004]  INFO -- : reaped #<Process::Status: pid=19028,exited(0)> worker=15
    I, [2013-03-20T11:49:44.236309 #19004]  INFO -- : reaped #<Process::Status: pid=19029,exited(0)> worker=16
    I, [2013-03-20T11:49:44.354021 #25673]  INFO -- : worker=7 ready
    I, [2013-03-20T11:49:44.538451 #19004]  INFO -- : reaped #<Process::Status: pid=19020,exited(0)> worker=7
    I, [2013-03-20T11:49:44.538680 #19004]  INFO -- : reaped #<Process::Status: pid=19027,exited(0)> worker=14
    I, [2013-03-20T11:49:44.538829 #19004]  INFO -- : reaped #<Process::Status: pid=19032,exited(0)> worker=19
    I, [2013-03-20T11:49:44.579783 #25674]  INFO -- : worker=8 ready
    I, [2013-03-20T11:49:44.639573 #19004]  INFO -- : reaped #<Process::Status: pid=19016,exited(0)> worker=3
    I, [2013-03-20T11:49:44.639843 #19004]  INFO -- : reaped #<Process::Status: pid=19017,exited(0)> worker=4
    I, [2013-03-20T11:49:44.639990 #19004]  INFO -- : reaped #<Process::Status: pid=19022,exited(0)> worker=9
    I, [2013-03-20T11:49:44.740847 #19004]  INFO -- : reaped #<Process::Status: pid=19013,exited(0)> worker=0
    I, [2013-03-20T11:49:44.741120 #19004]  INFO -- : reaped #<Process::Status: pid=19015,exited(0)> worker=2
    I, [2013-03-20T11:49:44.741238 #19004]  INFO -- : reaped #<Process::Status: pid=19021,exited(0)> worker=8
    I, [2013-03-20T11:49:44.741341 #19004]  INFO -- : reaped #<Process::Status: pid=19024,exited(0)> worker=11
    I, [2013-03-20T11:49:44.741464 #19004]  INFO -- : reaped #<Process::Status: pid=19026,exited(0)> worker=13
    I, [2013-03-20T11:49:44.725063 #25675]  INFO -- : worker=9 ready
    I, [2013-03-20T11:49:44.842874 #19004]  INFO -- : reaped #<Process::Status: pid=19014,exited(0)> worker=1
    I, [2013-03-20T11:49:44.843162 #19004]  INFO -- : reaped #<Process::Status: pid=19025,exited(0)> worker=12
    I, [2013-03-20T11:49:44.843295 #19004]  INFO -- : reaped #<Process::Status: pid=19030,exited(0)> worker=17
    I, [2013-03-20T11:49:44.843419 #19004]  INFO -- : reaped #<Process::Status: pid=19031,exited(0)> worker=18
    I, [2013-03-20T11:49:44.944004 #19004]  INFO -- : reaped #<Process::Status: pid=19019,exited(0)> worker=6
    I, [2013-03-20T11:49:44.944345 #19004]  INFO -- : reaped #<Process::Status: pid=19023,exited(0)> worker=10
    I, [2013-03-20T11:49:44.944427 #19004]  INFO -- : master complete
    I, [2013-03-20T11:49:45.005390 #25676]  INFO -- : worker=10 ready
    I, [2013-03-20T11:49:45.134093 #25679]  INFO -- : worker=11 ready
    I, [2013-03-20T11:49:45.362512 #25692]  INFO -- : worker=12 ready
    I, [2013-03-20T11:49:45.503391 #25700]  INFO -- : worker=13 ready
    I, [2013-03-20T11:49:45.762058 #25712]  INFO -- : worker=14 ready
    I, [2013-03-20T11:49:46.006504 #25720]  INFO -- : worker=15 ready
    I, [2013-03-20T11:49:46.193323 #25724]  INFO -- : worker=16 ready
    I, [2013-03-20T11:49:46.351284 #25733]  INFO -- : worker=17 ready
    I, [2013-03-20T11:49:46.543594 #25742]  INFO -- : worker=18 ready
    I, [2013-03-20T11:49:46.634778 #25639]  INFO -- : master process ready
    I, [2013-03-20T11:49:46.633641 #25743]  INFO -- : worker=19 ready
    
  • Unicorn 重启无法加载最新代码 at 2013年03月19日

    #1 楼 @huacnlee 重启后会报奇怪的错误,比如明明存在的 partial,报 missing partial 错误。直接 kill 再启动是没问题的

  • 发布糗事百科旧版代码 “冇问题” at 2013年03月17日

    帮顶!

  • 8G 内存不够用啊啊啊啊啊~~~~~~ at 2013年02月16日

    Pro 是插上去的

  • [南京] 暴走漫画招聘 rails 程序员 at 2013年01月15日

    #11 楼 @lionzixuanyuan 我加你 qq 了

  • [南京] 暴走漫画招聘 rails 程序员 at 2013年01月15日

    #9 楼 @lionzixuanyuan 工作经验是次要的。工作能力达到就行

  • [南京] 暴走漫画招聘 rails 程序员 at 2013年01月14日

    #4 楼 @badboy 💋

  • [南京] 暴走漫画招聘 rails 程序员 at 2013年01月14日

    #2 楼 @jasl 来南京我请你

  • [南京] 暴走漫画招聘 rails 程序员 at 2013年01月14日

    @ShiningRay

  • 我的网页浏览被电信 QJ 了 at 2013年01月14日

    我也是这样。真想说脏话

  • [地区不限] 2ViVe 招 Ruby On Rails 开发 - 可春节后到岗 - 薪水范围 10k-14k at 2013年01月11日

    @jhjguxin 暴走漫画招人的啊。工作地点在南京

  • [地区不限] 2ViVe 招 Ruby On Rails 开发 - 可春节后到岗 - 薪水范围 10k-14k at 2013年01月11日

    😓

  • [地区不限] 2ViVe 招 Ruby On Rails 开发 - 可春节后到岗 - 薪水范围 10k-14k at 2013年01月11日

    #2 楼 @ywencn :sweat

  • [地区不限] 2ViVe 招 Ruby On Rails 开发 - 可春节后到岗 - 薪水范围 10k-14k at 2013年01月11日

    哇靠!

  • 酷站提交加入了限制 at 2013年01月10日

    没发现有暴走漫画哎。加个暴走漫画吧

  • 月薪 20k+ 有多少?八卦一下 at 2013年01月09日

    不能匿名发帖,谁敢来回答啊

  • 南京寻一 Rails 职位 at 2013年01月09日

    快回复我啊。暴走漫画阿来啊

  • 南京寻一 Rails 职位 at 2013年01月09日

    暴走漫画愿意来不?我们正在筹划将技术团队放在南京。目前正在招人

  • 2012年12月21日以后的数据丢失了 at 2013年01月06日

    #55 楼 @linjunhalida 同意,谁没傻逼过呢

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