Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
tom
@tomlive
会员
第 8935 位会员 / 2013-08-30

2 篇帖子 / 18 条回帖
0 关注者
0 正在关注
3 收藏
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [上海] 无私轻生活招募 ruby/ios/andriod/web 工程师各一枚~(不打卡,老板超好哦~) at 2014年12月23日

    不好意思,恕我直言。产品方向和市场竞争格局令人堪忧阿

  • Gemfile 中分环境选择 source at 2014年01月29日

    @luikore 能给一段 demo 的代码么

  • Production 部署问题 at 2014年01月08日

    将 base_mailer.rb 清理后,问题解决,thanks @Martin91

  • Production 部署问题 at 2014年01月07日

    @Martin91 mailer 下的 app/mailers/base_mailer.rb

    class BaseMailer < ActionMailer::Base
      default :from => Setting.email_sender
      default :charset => "utf-8"
      default :content_type => "text/html"
      default_url_options[:host] = Setting.domain
    
      layout 'mailer'
      helper :topics, :users
    end
    
  • 成功部署应用在 CentOS 6.3 + Nginx + Unicorn at 2014年01月07日

    请教一下 @vincent @Magic capistrano 与 mina,是否更推荐 capistrano?

  • Production 部署问题 at 2014年01月07日

    @Martin91 下面是配置值,谢谢。

    config.action_mailer.default_url_options = {
      :host => 'example.com',
    }
      config.action_mailer.delivery_method = :smtp
      config.action_mailer.smtp_settings = {
        address:              'smtp.gmail.com',
        port:                 465,
        domain:               'gmail.com',
        user_name:            'demo',
        password:             'demppw',
        authentication:       'plain',
        enable_starttls_auto: true  }
    
  • 成功部署应用在 CentOS 6.3 + Nginx + Unicorn at 2014年01月07日

    请教一下@jianpanxiu 从 Unicorn 上迁移到了 PUMA 的动机是什么呢,据我所知 Github 仍运行在 Unicorn 上

  • Production 部署问题 at 2014年01月07日

    @Martin91 谢谢回复。已在 config/environments/production.rb 添加过了如下一些配置:

    onfig.action_mailer.default_url_options
    config.action_mailer.delivery_method
    config.action_mailer.smtp_settings
    
  • 成功部署应用在 CentOS 6.3 + Nginx + Unicorn at 2014年01月07日

    @dothide 感谢分享。我按照以上步奏走了一遍,restart unicorn 和 nginx 后,主页显示 403 Forbidden。请问你在部署时是否遇到同样的问题?谢谢

  • 用 Mac 开发 RoR 应用程序,然后怎么部署到 Linux 服务器上去 (不采用 Heroku) at 2013年12月18日

    Git

  • [上海] dreamchina.com 超有前途的创业方向:众筹网站,重新出发之作 at 2013年11月15日

    楼主的招聘信息中充满了“最”和“超”,从中看出是加入了一家浮躁的公司。重酬模式已经有很多现成的开源项目,这个方向已经走到了类似团购网站的老路(满大街,论斤卖),建议楼主在投入时间和精力前三思

  • RubyConfChina 2013 幻灯片汇集 at 2013年11月15日

    身在海外,未能参加,感谢分享

  • Ruby 官网新设计 (結果公布) at 2013年11月15日

    喜欢 3 号

  • [上海] 百度诚招高级研发工程师 Ruby at 2013年11月08日

    一家公司当销售为主导的时候,优秀工程师就会离开,创新也将停止。现在的百度已沦为销售为主导的公司,不利于工程师成长。

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