<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>bruceyue</title>
    <link>https://ruby-china.org/bruceyue</link>
    <description>Your attitude, not your aptitude, will determine your altitude.</description>
    <language>en-us</language>
    <item>
      <title>招聘 Ruby Rails 全职开发工程师， 主要做教育行业的系统开发。Base 北京 上海， 有需求的小伙伴赶紧联系我。</title>
      <description>&lt;p&gt;招聘 Ruby Rails 全职开发工程师，主要做教育行业的系统开发。Base 北京 上海，有需求的小伙伴赶紧联系我。
招聘 Ruby Rails 全职开发工程师，主要做教育行业的系统开发。Base 北京 上海，有需求的小伙伴赶紧联系我。
招聘 Ruby Rails 全职开发工程师，主要做教育行业的系统开发。Base 北京 上海，有需求的小伙伴赶紧联系我。&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Tue, 26 Jun 2018 09:50:25 +0800</pubDate>
      <link>https://ruby-china.org/topics/37046</link>
      <guid>https://ruby-china.org/topics/37046</guid>
    </item>
    <item>
      <title>有没有开源的 Rails CRM 系统？</title>
      <description>&lt;p&gt;我知道有个 fat free crm  系统还不错，但是稍微有些复杂。 &lt;/p&gt;

&lt;p&gt;我想学学简单的 CRM 系统，谁知道有汉语的简单的能够管理 Account Contact  之类的 CRM?&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Thu, 24 Apr 2014 10:10:54 +0800</pubDate>
      <link>https://ruby-china.org/topics/18815</link>
      <guid>https://ruby-china.org/topics/18815</guid>
    </item>
    <item>
      <title>How to convert RTF file to HTML?</title>
      <description>&lt;p&gt;rtf_str = "{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Tahoma;}} {*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\f0\fs17 Received Billing Agreement 12 04 12 KC \par Number of properties - 40\par \par \ul\b &lt;strong&gt;&lt;em&gt;VERIFY WITH JOHN IF THE PROPERTY HE IS CALLING IN IS A FANNIE MAE OR NOT&lt;/em&gt;&lt;/strong&gt;\par \par \par 1) On Vacant Fannie Mae properties ABC Company to fannie mae key- \par 2) On occupied properties ABC Company to random key \par 3) NON-FANNIE MAE PROPERTIES - KEY TO 60-70 and L-S\ulnone\b0\par \ul\b 4)\ulnone\b0 . Leave 2 keys at property\par 5). Do not test smoke alarms/only test on a per request basic\par 6) Always remove double cylinder deadbolts and replace with single cylinder deadbolts\par 7). Locking Knobs- other- Check if locking knobs need to be ABC Companyed and who has access (?)\par 8). Do not install security bar\par 9). Only ABC Company overhead garage doors when specifically requested \par 10). JOBS NOT TO EXCEEED $150 or Call if it goes over\par 11) Per John DO NOT LEAVE ANY KEYS FOR FANNIE MAE PROPERTIES EVER&amp;lt; UNLESS INSTRUCTED \par \par \par \ul\b OFFICE:\par \par \ulnone\b0 1. Leave 2 keys at property\par 2. Email invoice IMMEDIATELY ON COMPLETION OF JOB!!!\par \par \par \ul\b AUTHORIZED TO USE ACCOUNT:\par \par \pard\ulnone\b0 1. John Nold 425-777-0639\fs17 }"&lt;/p&gt;

&lt;p&gt;用 ruby 怎么转化为 html 呢？&lt;/p&gt;

&lt;p&gt;求各位大神帮忙。&lt;/p&gt;

&lt;p&gt;另祝各位平安夜快乐，圣诞快乐。 &lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Tue, 24 Dec 2013 13:47:52 +0800</pubDate>
      <link>https://ruby-china.org/topics/16393</link>
      <guid>https://ruby-china.org/topics/16393</guid>
    </item>
    <item>
      <title>How to convert RTF file to HTML?</title>
      <description>&lt;p&gt;Dear  各位大神&lt;/p&gt;

&lt;p&gt;我有一个 rtf 的文件，想把他转化为 html 的。用 ruby 怎么实现呢？&lt;/p&gt;

&lt;p&gt;谢谢&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Mon, 16 Dec 2013 16:04:27 +0800</pubDate>
      <link>https://ruby-china.org/topics/16229</link>
      <guid>https://ruby-china.org/topics/16229</guid>
    </item>
    <item>
      <title>如何将一个本地的数据库备份文件 (.dump) 导入到 heroku 的 pg </title>
      <description>&lt;p&gt;如何将一个本地的数据库备份文件（.dump）导入到 heroku 的 pg &lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Mon, 16 Dec 2013 12:35:02 +0800</pubDate>
      <link>https://ruby-china.org/topics/16221</link>
      <guid>https://ruby-china.org/topics/16221</guid>
    </item>
    <item>
      <title>如何 zip 网络文档，并且 save 到 computer</title>
      <description>&lt;pre class="highlight ruby"&gt;&lt;code&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;index&lt;/span&gt;
  &lt;span class="vi"&gt;@downloads&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;get_all_downloads&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;   

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;get_all_downloads&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="no"&gt;SfDownload&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ss"&gt;is_active: &lt;/span&gt;&lt;span class="kp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;  

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;download&lt;/span&gt;
  &lt;span class="nb"&gt;require&lt;/span&gt; &lt;span class="s1"&gt;'zip'&lt;/span&gt;
  &lt;span class="nb"&gt;require&lt;/span&gt; &lt;span class="s1"&gt;'open-uri'&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;get_all_downloads&lt;/span&gt;
    &lt;span class="n"&gt;zipfile_name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"SfDocuments.zip"&lt;/span&gt;
    &lt;span class="no"&gt;Zip&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;File&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;zipfile_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;Zip&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;File&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;CREATE&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;zipfile&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
      &lt;span class="n"&gt;get_all_downloads&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;each&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;sfd&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
        &lt;span class="c1"&gt;# Two arguments:&lt;/span&gt;
        &lt;span class="c1"&gt;# - The name of the file as it will appear in the archive&lt;/span&gt;
        &lt;span class="c1"&gt;# - The original file, including the path to find it&lt;/span&gt;
        &lt;span class="n"&gt;zipfile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;File&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;basename&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sfd&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sf_url&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sfd&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sf_url&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
      &lt;span class="k"&gt;end&lt;/span&gt;
    &lt;span class="k"&gt;end&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;SfDownload 中保存了网络 url, 我想做个页面，将选中的 Url 打包，然后点击下载按钮保存到电脑里，如何实现呢？&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Thu, 21 Nov 2013 11:08:51 +0800</pubDate>
      <link>https://ruby-china.org/topics/15698</link>
      <guid>https://ruby-china.org/topics/15698</guid>
    </item>
    <item>
      <title>OpenShift Rails App Error</title>
      <description>&lt;p&gt;remote: Precompiling with 'bundle exec rake assets:precompile'&lt;br&gt;
remote: /opt/rh/ruby193/root/usr/bin/ruby /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets&lt;br&gt;
remote: rake aborted!&lt;br&gt;
remote: Disk quota exceeded - /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/tmp/cache/assets/E55/E40&lt;br&gt;
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/file_store.rb:161:in &lt;code&gt;ensure_cache_path  
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/file_store.rb:90:in&lt;/code&gt;write_entry'&lt;br&gt;
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:140:in &lt;code&gt;write_entry'  
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache.rb:364:in&lt;/code&gt;block in write'&lt;br&gt;
remote: /var/lib/openshift/527f89d64382ec06c e000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache.rb:520:in &lt;code&gt;instrument'  
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache.rb:362:in&lt;/code&gt;write'&lt;br&gt;
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/caching.rb:90:in &lt;code&gt;cache_set'  
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-  root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/caching.rb:53:in&lt;/code&gt;cache_set_hash'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/caching.rb:29:in &lt;code&gt;cache_asset'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in&lt;/code&gt;build_asset'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in &lt;code&gt;find_asset'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in&lt;/code&gt;find_asset'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/sprockets/static_compiler.rb:19:in &lt;code&gt;block in compile'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in&lt;/code&gt;block in each_logical_path'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in &lt;code&gt;block (2 levels) in each_file'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in&lt;/code&gt;each'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in &lt;code&gt;each_entry'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in&lt;/code&gt;block in each_file'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in &lt;code&gt;each'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in&lt;/code&gt;each_file'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in &lt;code&gt;each_logical_path'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/sprockets/static_compiler.rb:18:in&lt;/code&gt;compile'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:56:in &lt;code&gt;internal_precompile'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:70:in&lt;/code&gt;block (3 levels) in '
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:60:in &lt;code&gt;block (3 levels) in &amp;lt;top (required)&amp;gt;'
remote: Tasks: TOP =&amp;gt; assets:precompile:primary
remote: (See full trace by running task with --trace)
remote: rake aborted!
remote: Command failed with status (1): [/opt/rh/ruby193/root/usr/bin/ruby /var/lib...]
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:12:in&lt;/code&gt;ruby_rake_task'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:21:in &lt;code&gt;invoke_or_reboot_rake_task'
remote: /var/lib/openshift/527f89d64382ec06ce000287/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/sprockets/assets.rake:29:in&lt;/code&gt;block (2 levels) in '
remote: Tasks: TOP =&amp;gt; assets:precompile
remote: (See full trace by running task with --trace)
remote: Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 527f89d64382ec06ce000287 (Error activating gear: Failed to execute: 'control deploy' for /var/lib/openshift/527f89d64382ec06ce000287/ruby)
remote: Deployment completed with status: failure
remote: postreceive failed&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Sun, 10 Nov 2013 22:12:05 +0800</pubDate>
      <link>https://ruby-china.org/topics/15438</link>
      <guid>https://ruby-china.org/topics/15438</guid>
    </item>
    <item>
      <title>Ruby China 里面讲 ruby 的帖子太少了， 大部分是瞎扯的。</title>
      <description>&lt;p&gt;我建议发帖时加上审核，只关于 ruby 或者 ruby 相关联的才能发布，要不然我们这个社区就变得没有啥意义了。&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Sat, 02 Nov 2013 18:51:38 +0800</pubDate>
      <link>https://ruby-china.org/topics/15246</link>
      <guid>https://ruby-china.org/topics/15246</guid>
    </item>
    <item>
      <title>Problems about upgrade to Rails 4</title>
      <description>&lt;p&gt;When I run "rake db:migrate", the following errors occurred:&lt;/p&gt;

&lt;p&gt;undefined method &lt;code&gt;status_code' for class&lt;/code&gt;ActionDispatch::ShowExceptions'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/core_ext/module/aliasing.rb:32:in &lt;code&gt;alias_method'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/core_ext/module/aliasing.rb:32:in&lt;/code&gt;alias_method_chain'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/will_paginate-3.0.2/lib/will_paginate/railtie.rb:40:in &lt;code&gt;block in &amp;lt;module:ShowExceptionsPatch&amp;gt;'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/concern.rb:114:in&lt;/code&gt;class_eval'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/concern.rb:114:in &lt;code&gt;append_features'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/will_paginate-3.0.2/lib/will_paginate/railtie.rb:28:in&lt;/code&gt;include'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/will_paginate-3.0.2/lib/will_paginate/railtie.rb:28:in &lt;code&gt;setup_actioncontroller'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/will_paginate-3.0.2/lib/will_paginate/railtie.rb:14:in&lt;/code&gt;block (2 levels) in &lt;a rel="nofollow" target="_blank"&gt;class:Railtie&lt;/a&gt;'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/lazy_load_hooks.rb:38:in &lt;code&gt;instance_eval'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/lazy_load_hooks.rb:38:in&lt;/code&gt;execute_hook'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/lazy_load_hooks.rb:28:in &lt;code&gt;block in on_load'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/lazy_load_hooks.rb:27:in&lt;/code&gt;each'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/lazy_load_hooks.rb:27:in &lt;code&gt;on_load'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/will_paginate-3.0.2/lib/will_paginate/railtie.rb:13:in&lt;/code&gt;block in &lt;a rel="nofollow" target="_blank"&gt;class:Railtie&lt;/a&gt;'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/initializable.rb:30:in &lt;code&gt;instance_exec'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/initializable.rb:30:in&lt;/code&gt;run'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/initializable.rb:55:in &lt;code&gt;block in run_initializers'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/initializable.rb:54:in&lt;/code&gt;run_initializers'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/application.rb:215:in &lt;code&gt;initialize!'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in&lt;/code&gt;method_missing'
/Users/Bruce/RoR/ShareAllTech/config/environment.rb:5:in &lt;code&gt;&amp;lt;top (required)&amp;gt;'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in&lt;/code&gt;require'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in &lt;code&gt;block in require'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in&lt;/code&gt;load_dependency'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in &lt;code&gt;require'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/application.rb:189:in&lt;/code&gt;require_environment!'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/application.rb:249:in &lt;code&gt;block in run_tasks_blocks'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in&lt;/code&gt;eval'
/Users/Bruce/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `&lt;/p&gt;'
Tasks: TOP =&amp;gt; db:migrate =&amp;gt; environment&lt;p&gt;&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Tue, 20 Aug 2013 12:45:25 +0800</pubDate>
      <link>https://ruby-china.org/topics/13456</link>
      <guid>https://ruby-china.org/topics/13456</guid>
    </item>
    <item>
      <title>Can Unicorn handle HTTPS requests directly？</title>
      <description>&lt;p&gt;stackoverflow：
Unicorn is optimized to handle fast connections and is not meant to be used for direct client communication. If you consider using https I would assume that your are transferring data through an potentially uncontrollable line. It's better to use another web server for terminating the ssl connection.&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Wed, 10 Apr 2013 16:49:14 +0800</pubDate>
      <link>https://ruby-china.org/topics/10067</link>
      <guid>https://ruby-china.org/topics/10067</guid>
    </item>
    <item>
      <title>Unicorn, Omniauth and Https</title>
      <description>&lt;p&gt;程序中使用了 Omniauth，访问页面为 https 的形式，但是用 unicorn 启动后程序报错。Chrom: Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
Firefox: An error occurred during a connection to 0.0.0.0:8080.&lt;/p&gt;

&lt;p&gt;SSL received a record that exceeded the maximum permissible length.&lt;/p&gt;

&lt;p&gt;(Error code: ssl_error_rx_record_too_long)
急切盼望各位大神给予帮助。小弟在此先谢谢啦。&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Mon, 18 Feb 2013 17:43:08 +0800</pubDate>
      <link>https://ruby-china.org/topics/8749</link>
      <guid>https://ruby-china.org/topics/8749</guid>
    </item>
    <item>
      <title>如何点击一个连接能跳到看某个月的数据页面</title>
      <description>&lt;p&gt;如何点击一个连接能跳到看某个月的数据页面&lt;/p&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="err"&gt;%&lt;/span&gt; &lt;span class="err"&gt;@&lt;/span&gt;&lt;span class="na"&gt;user1rse.each&lt;/span&gt; &lt;span class="na"&gt;do&lt;/span&gt; &lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="na"&gt;month&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt; &lt;span class="na"&gt;posts&lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt; &lt;span class="err"&gt;%&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;li&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="err"&gt;%=&lt;/span&gt; &lt;span class="na"&gt;link_to&lt;/span&gt;  &lt;span class="na"&gt;A&lt;/span&gt; &lt;span class="na"&gt;Month&lt;/span&gt; &lt;span class="na"&gt;Data&lt;/span&gt; &lt;span class="na"&gt;do&lt;/span&gt; &lt;span class="err"&gt;%&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="err"&gt;%=&lt;/span&gt; &lt;span class="na"&gt;month.strftime&lt;/span&gt;&lt;span class="err"&gt;('%&lt;/span&gt;&lt;span class="na"&gt;B&lt;/span&gt; &lt;span class="err"&gt;%&lt;/span&gt;&lt;span class="na"&gt;Y&lt;/span&gt;&lt;span class="err"&gt;')&lt;/span&gt; &lt;span class="err"&gt;%&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;(&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="err"&gt;%=&lt;/span&gt; &lt;span class="na"&gt;posts.count&lt;/span&gt; &lt;span class="err"&gt;%&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;)
        &lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="err"&gt;%&lt;/span&gt; &lt;span class="na"&gt;end&lt;/span&gt; &lt;span class="err"&gt;%&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/li&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="err"&gt;%&lt;/span&gt; &lt;span class="na"&gt;end&lt;/span&gt; &lt;span class="err"&gt;%&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;</description>
      <author>bruceyue</author>
      <pubDate>Sun, 27 Jan 2013 22:26:07 +0800</pubDate>
      <link>https://ruby-china.org/topics/8410</link>
      <guid>https://ruby-china.org/topics/8410</guid>
    </item>
    <item>
      <title>ruby</title>
      <description>&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;syntax_highlighter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;doc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;Nokogiri&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;HTML&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;doc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;search&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"//pre[@lang]"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;each&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;pre&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="n"&gt;pre&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replace&lt;/span&gt; &lt;span class="no"&gt;Albino&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;colorize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pre&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;rstrip&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;pre&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="ss"&gt;:lang&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;
    &lt;span class="n"&gt;doc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;to_s&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;</description>
      <author>bruceyue</author>
      <pubDate>Sat, 24 Nov 2012 17:35:26 +0800</pubDate>
      <link>https://ruby-china.org/topics/7068</link>
      <guid>https://ruby-china.org/topics/7068</guid>
    </item>
    <item>
      <title>Command: rails s and thin start --ssl</title>
      <description>&lt;p&gt;I used OmniAuth in my rails app, but when I started  the app use rails s, it's showed SSL error, but thin start --ssl, it worked correctly and  no logs on the console. Anybody can help me? Thanks.&lt;/p&gt;</description>
      <author>bruceyue</author>
      <pubDate>Mon, 05 Nov 2012 09:38:10 +0800</pubDate>
      <link>https://ruby-china.org/topics/6532</link>
      <guid>https://ruby-china.org/topics/6532</guid>
    </item>
  </channel>
</rss>
