Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
gwf
@way_von
会员
第 20697 位会员 / 2015-08-23

[email protected]
上海
6 篇帖子 / 34 条回帖
1 关注者
9 正在关注
2 收藏
学习ing
GitHub Public Repos
  • HanderWei.github.io 1

  • Yummy-Jekyll 0

    Yummy Jekyll Theme

  • gwf2424.github.io 0

    gg

  • ruby-china 0

    :circus_tent: Ruby China website source code.

  • von 0

    test

  • grape-on-rails 0

    Sample Grape API mounted on Rails.

  • carte-noire 0

    A simple jekyll theme for blogging

  • will-jekyll-template 0

    A simple Jekyll theme.

  • weixin_authorize 0

    微信 Ruby 高级API weixin_authorize http://github.com/lanrion/weixin_authorize .

  • ruby_framework_bench 0

    ruby framework bench with goliath, grape and sinatra, incude multi-thread and fiber running mode.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [已解决] 添加 Ajax 点击 add_to_cart 侧面购物车不新增数据? at 2016年04月03日

    <%=j %> 是啥意思

  • Ruby China $rails s 启动失败 at 2016年03月01日

    #2 楼 @huacnlee 谢谢!可以了。

  • Ruby China $rails s 启动失败 at 2016年03月01日

    HELP

  • 搭建 Ruby China 开发环境 (Vagrant) at 2016年03月01日

    #18 楼 @rei 开发环境 rails s 启动之后出了两个 Exiting 就结束了,如果把 config/puma.rb 删掉再启动,localhost 能看到报错页面

  • 搭建 Ruby China 开发环境 (Vagrant) at 2016年03月01日

    #16 楼 @rei 和 rails 版本有关系么

  • 搭建 Ruby China 开发环境 (Vagrant) at 2016年03月01日

    #14 楼 @rei 今早下的代码

    puma.rb 部分代码如下

    app_root = '/home/ruby/www/ruby-china/current'
    pidfile "#{app_root}/tmp/pids/puma.pid"
    state_path "#{app_root}/tmp/pids/puma.state"
    bind "unix:/tmp/unicorn.ruby-china.sock"
    
  • 搭建 Ruby China 开发环境 (Vagrant) at 2016年03月01日

    #11 楼 @rei

    /home/vagrant/.rvm/gems/ruby-2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:362:in `delete': No such file or directory @ unlink_internal - /vagrant/tmp/pids/server.pid (Errno::ENOENT)
        from /home/vagrant/.rvm/gems/ruby-2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:362:in `block in write_pid'
    vagrant@ruby-china-dev:/vagrant$ cd tmp/pids
    vagrant@ruby-china-dev:/vagrant/tmp/pids$ ls
    vagrant@ruby-china-dev:/vagrant/tmp/pids$ 
    

    下面没有 server.pid

  • 搭建 Ruby China 开发环境 (Vagrant) at 2016年03月01日
    vagrant@ruby-china-dev:/vagrant$ rails s -b 0.0.0.0
    => Booting Puma
    => Rails 5.0.0.beta3 application starting in development on http://0.0.0.0:3000
    => Run `rails server -h` for more startup options
    => Ctrl-C to shutdown server
    => Memory usage: 156.73 MB
    [24430] Puma starting in cluster mode...
    [24430] * Version 3.0.2 (ruby 2.3.0-p0), codename: Plethora of Penguin Pinatas
    [24430] * Min threads: 8, max threads: 16
    [24430] * Environment: development
    [24430] * Process workers: 4
    [24430] * Preloading application
    [24430] * Listening on tcp://0.0.0.0:3000
    [24430] * Daemonizing...
    Exiting
    Exiting
    /home/vagrant/.rvm/gems/ruby-2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:362:in `delete': No such file or directory @ unlink_internal - /vagrant/tmp/pids/server.pid (Errno::ENOENT)
        from /home/vagrant/.rvm/gems/ruby-2.3.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:362:in `block in write_pid'
    

    这是为啥,rack 已装

  • ruby 单件类的单件类,实际编程中的用途是啥 at 2016年02月29日

    #21 楼 @pathbox 17 楼的方法应该可行

  • ruby 单件类的单件类,实际编程中的用途是啥 at 2016年02月29日

    #17 楼 @pathbox 第一个 person 的 self 是 singleton,第二个 person 的 self 是 person

  • ruby 单件类的单件类,实际编程中的用途是啥 at 2016年02月29日

    #12 楼 @taojay315 感觉理解为类扩展的扩展好像能更清晰一点

  • ruby 单件类的单件类,实际编程中的用途是啥 at 2016年02月29日

    #8 楼 @zzwzzhao 好奇心

  • ruby 单件类的单件类,实际编程中的用途是啥 at 2016年02月29日

    #3 楼 @liwei78 谢谢提供的资料

  • ruby 单件类的单件类,实际编程中的用途是啥 at 2016年02月29日

    #6 楼 @watraludru yep

  • ruby 单件类的单件类,实际编程中的用途是啥 at 2016年02月29日

    #1 楼 @bird_on_rails 好😂

  • [上海][2016年3月1日] Ruby 聚会召集 at 2016年02月25日

    👍

  • 初学编程求一个简单的项目 at 2016年02月22日

    #6 楼 @esnill 对的

  • 初学编程求一个简单的项目 at 2016年02月19日

    我是看完了 ror tutorial 之后就开始看 ruby 元编程

  • [结束] 送几本《Docker 即学即用》 at 2016年02月19日

    [email protected]

  • 对所有已登录的用户开放 rack-mini-profiler 统计结果 at 2016年02月05日

    👍🏽

  • Rails & rails-html-sanitizer 安全性更新 at 2016年02月04日

    谢谢分享👍

  • 今年的微信群是啥? at 2015年10月13日

    #7 楼 @zhulinpinyu 满了- - 还收人吗?

  • 今年的微信群是啥? at 2015年10月11日

    #4 楼 @lgn21st 怎么加入呢?

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