Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
金华
@king1990_cool
Member
NO. 14901 / 2014-09-09

[email protected]
yeezon
深圳
1 Topics / 39 Replies
1 Followers
0 Following
0 Favorites
GitHub Public Repos
More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Nginx Passenger 部署问题 - Cannot execute /root/.rbenv/shims/ruby: Permission denied (13) at March 18, 2015

    会不会是因为 linxu 角色权限的问题?你的 Ruby 是用 root 装的?然后 deploy 用的是另外的用户?

  • Ruby 整理 hash at March 18, 2015
    tmp = {}
    {"2014-11-22" => 1, "2014-11-30" => 1, "2015-01-02" => 0, "2015-01-22" => 1}.each do |key, value| 
       tmp["#{key[0,7]}"] = tmp["#{key[0,7]}"].to_i + value 
    end
    

    这样应该可以达到目的

  • 新人求助,是需要简单重构还是推倒重写? at March 18, 2015

    才 3000 行,以前碰到过单文件就 3w 行的都有! 看看需求更改的频率,评估一下后面项目的生存期,再打算吧。

  • NotImplementedError: birthtime () function is unimplemented on this machine at March 16, 2015

    http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_08 在 linux 操作系统中貌似没有文件创建时间的概念。

  • 关于在 erb 文件中,注释的一个错误提示! at February 03, 2015

    https://ruby-china.org/topics/7822 看这里

  • 国内有类似于 imgurl 的免费图片分享站么? at February 03, 2015

    http://www.qiniu.com/ 可是试试七牛。

  • Ruby 框架速度比较 (Rails Padrino Sinatra Goliath) at October 10, 2014

    这个是另外一个统计的 http://blog.altoros.com/ruby-frameworks-performance-sinatra-padrino-goliath-and-ror.html 上源码 https://github.com/melnikaite/ruby-frameworks-comparison

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