<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>inetufo</title>
    <link>https://ruby-china.org/inetufo</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>omniauth-qq gem 启动时报错</title>
      <description>&lt;p&gt;堆栈信息如下：&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="no"&gt;Uncaught&lt;/span&gt; &lt;span class="ss"&gt;exception: &lt;/span&gt;&lt;span class="n"&gt;cannot&lt;/span&gt; &lt;span class="nb"&gt;load&lt;/span&gt; &lt;span class="n"&gt;such&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt; &lt;span class="n"&gt;omniauth&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;qq&lt;/span&gt;
    &lt;span class="no"&gt;D&lt;/span&gt;&lt;span class="ss"&gt;:/&lt;/span&gt;&lt;span class="no"&gt;Ruby193&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ruby&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;site_ruby&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mf"&gt;1.9&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rubygems&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;custom_require&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;rb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;36&lt;/span&gt;&lt;span class="ss"&gt;:in&lt;/span&gt; &lt;span class="sb"&gt;`require'
    D:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `&lt;/span&gt;&lt;span class="nb"&gt;require&lt;/span&gt;&lt;span class="s1"&gt;'
    D:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:74:in `rescue in block in require'&lt;/span&gt;
    &lt;span class="no"&gt;D&lt;/span&gt;&lt;span class="ss"&gt;:/&lt;/span&gt;&lt;span class="no"&gt;Ruby193&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ruby&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gems&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mf"&gt;1.9&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gems&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bundler&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;1.1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bundler&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;runtime&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;rb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;62&lt;/span&gt;&lt;span class="ss"&gt;:in&lt;/span&gt; &lt;span class="sb"&gt;`block in require'
    D:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `&lt;/span&gt;&lt;span class="n"&gt;each&lt;/span&gt;&lt;span class="s1"&gt;'
    D:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `require'&lt;/span&gt;
    &lt;span class="no"&gt;D&lt;/span&gt;&lt;span class="ss"&gt;:/&lt;/span&gt;&lt;span class="no"&gt;Ruby193&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ruby&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gems&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mf"&gt;1.9&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gems&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bundler&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;1.1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bundler&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;rb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;119&lt;/span&gt;&lt;span class="ss"&gt;:in&lt;/span&gt; &lt;span class="sb"&gt;`require'
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;gemfile&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="n"&gt;gem&lt;/span&gt; &lt;span class="s2"&gt;"omniauth"&lt;/span&gt;
&lt;span class="c1"&gt;#gem 'devise_oauth2_providable'&lt;/span&gt;
&lt;span class="n"&gt;gem&lt;/span&gt; &lt;span class="s1"&gt;'omniauth-qq'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'~&amp;gt; 0.2.1'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;ruby 1.9.3p194 &amp;amp;&amp;amp; rails 3.2.8&lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Mon, 17 Sep 2012 15:31:23 +0800</pubDate>
      <link>https://ruby-china.org/topics/5583</link>
      <guid>https://ruby-china.org/topics/5583</guid>
    </item>
    <item>
      <title>nginx 和 passenger 怎么在 prodution 里面处理 gem 里面的 assets 呢</title>
      <description>&lt;p&gt;sidekiq 的后台管理页面 CSS 和 JS 文件都不能加载&lt;/p&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"/sidekiq/assets/application.css"&lt;/span&gt; &lt;span class="na"&gt;media=&lt;/span&gt;&lt;span class="s"&gt;"screen"&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text/css"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"/sidekiq/assets/application.js"&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text/javascript"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;CSS 和 JS 是这个路径，nginx 貌似无法处理&lt;/p&gt;

&lt;p&gt;error log 里面显示
X-Accel-Mapping header missing
nginx.conf 已配置&lt;/p&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;location ~ ^/(assets|images|javascripts|stylesheets|swfs|system)/ {
    gzip_static     on;
    expires         max;
    add_header      Cache-Control public;
    add_header      Last-Modified "";
    add_header      ETag "";
    break;
}
&lt;/code&gt;&lt;/pre&gt;</description>
      <author>inetufo</author>
      <pubDate>Tue, 11 Sep 2012 15:47:35 +0800</pubDate>
      <link>https://ruby-china.org/topics/5478</link>
      <guid>https://ruby-china.org/topics/5478</guid>
    </item>
    <item>
      <title>Gemfile 里同一个 Gem 可以根据不同的 Ruby 版本制定不同的版本吗？</title>
      <description>&lt;p&gt;比如 xxx 的 gem 需要在 1.8, 1.9 用不同的版本
platform :mingw_18 do
  gem 'xxx', "~&amp;gt; 2.7"
end&lt;/p&gt;

&lt;p&gt;platform :mingw_19 do
  gem 'xxx'
end&lt;/p&gt;

&lt;p&gt;但是这样写好象不行，bundle 报错  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Wed, 20 Jun 2012 10:13:37 +0800</pubDate>
      <link>https://ruby-china.org/topics/3895</link>
      <guid>https://ruby-china.org/topics/3895</guid>
    </item>
    <item>
      <title>有人用过 Backbone 么？说说应用场景呢？</title>
      <description>&lt;p&gt;这玩意在什么情况下用比较合适呢？用 RAILS 写，好像都能搞定，吧 JS 分 MVC 是在什么场景下合适呢？  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Wed, 09 May 2012 23:15:31 +0800</pubDate>
      <link>https://ruby-china.org/topics/3182</link>
      <guid>https://ruby-china.org/topics/3182</guid>
    </item>
    <item>
      <title>我擦，ITEYE 账号不明原因的说我违规了</title>
      <description>&lt;p&gt;N 久没登陆，上去就说我违规了   &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Wed, 09 May 2012 22:09:30 +0800</pubDate>
      <link>https://ruby-china.org/topics/3179</link>
      <guid>https://ruby-china.org/topics/3179</guid>
    </item>
    <item>
      <title>ruby-china 为什么不全部用 redis 还要用 memcached 来缓存呢？</title>
      <description>&lt;p&gt;&lt;a href="/huacnlee" class="user-mention" title="@huacnlee"&gt;&lt;i&gt;@&lt;/i&gt;huacnlee&lt;/a&gt;有什么来由吗？redis 性能应该比 memcached 好啊  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Sun, 06 May 2012 14:32:07 +0800</pubDate>
      <link>https://ruby-china.org/topics/3100</link>
      <guid>https://ruby-china.org/topics/3100</guid>
    </item>
    <item>
      <title>弱弱的问一下全文检索和 SQL 的搜索有什么区别</title>
      <description>&lt;p&gt;用 sphinx lucene solr 和用 searchlogic metasearch 有什么不同？一直对这两个概念比较模糊？全文检索用哪个比较好呢？  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Sat, 28 Apr 2012 10:56:45 +0800</pubDate>
      <link>https://ruby-china.org/topics/2954</link>
      <guid>https://ruby-china.org/topics/2954</guid>
    </item>
    <item>
      <title>Sublime 有格式化代码的命令吗？</title>
      <description>&lt;p&gt;有自动格式化代码的命令么？  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Sat, 21 Apr 2012 14:13:44 +0800</pubDate>
      <link>https://ruby-china.org/topics/2791</link>
      <guid>https://ruby-china.org/topics/2791</guid>
    </item>
    <item>
      <title>大家来讨论下 LBS 的架构和实现</title>
      <description>&lt;p&gt;向 Foursquare 这种的系统架构是怎么样的呢？
我一直没弄明白 LBS 的用于签到的地理数据是怎么来的
难道是他手动后台输入的？  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Tue, 06 Mar 2012 23:40:14 +0800</pubDate>
      <link>https://ruby-china.org/topics/1662</link>
      <guid>https://ruby-china.org/topics/1662</guid>
    </item>
    <item>
      <title>有没有考虑加个在线列表的功能？</title>
      <description>&lt;p&gt;RT~~  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Tue, 21 Feb 2012 04:31:26 +0800</pubDate>
      <link>https://ruby-china.org/topics/1322</link>
      <guid>https://ruby-china.org/topics/1322</guid>
    </item>
    <item>
      <title>一不小心就看到了这个数字，是倒霉呢还是倒霉呢？</title>
      <description>&lt;p&gt;&lt;img src="//l.ruby-china.com/photo/db653f934b300c0bbfad88fa85af4f8a.jpg" title="" alt=""&gt;&lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Tue, 21 Feb 2012 04:30:15 +0800</pubDate>
      <link>https://ruby-china.org/topics/1321</link>
      <guid>https://ruby-china.org/topics/1321</guid>
    </item>
    <item>
      <title>突发奇想，一个 APP 里面可以混用 MONGODB 和 MYSQL 不？</title>
      <description>&lt;p&gt;RT，突发奇想，在 一个 APP 里面可以混用 MONGODB 和 MYSQL 作为数据库不？  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Wed, 08 Feb 2012 12:42:34 +0800</pubDate>
      <link>https://ruby-china.org/topics/1083</link>
      <guid>https://ruby-china.org/topics/1083</guid>
    </item>
    <item>
      <title>升级到 rails 3.2 后，vendor/plugins 下的插件怎么处理？</title>
      <description>&lt;p&gt;You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: &lt;a href="http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released" rel="nofollow" target="_blank"&gt;http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;要报这个警告，但是不晓得怎么写 myplugin.rb&lt;/p&gt;

&lt;p&gt;rails3.2 生成插件的命令 rails g plugin 好像也取消了？  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Sun, 29 Jan 2012 18:45:24 +0800</pubDate>
      <link>https://ruby-china.org/topics/969</link>
      <guid>https://ruby-china.org/topics/969</guid>
    </item>
    <item>
      <title>Rails 有比较好的验证码插件么？</title>
      <description>&lt;p&gt;哪位仁兄推荐一个  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Sun, 08 Jan 2012 19:36:17 +0800</pubDate>
      <link>https://ruby-china.org/topics/772</link>
      <guid>https://ruby-china.org/topics/772</guid>
    </item>
    <item>
      <title>ruby-china 源代码管理员账号是什么？</title>
      <description>&lt;p&gt;文档里面似乎没有写啊  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Fri, 30 Dec 2011 23:25:03 +0800</pubDate>
      <link>https://ruby-china.org/topics/667</link>
      <guid>https://ruby-china.org/topics/667</guid>
    </item>
    <item>
      <title>RAILS 3.2 快发布了，RAILS4 会有什么新特性呢？</title>
      <description>&lt;p&gt;据说 3.2 是最后一只支持 RUBY1.8.7 的版本，RAILS4 直接不支持 RUBY 1.8.7 了，生产环境用 REE 的多还是用 RUBY1.9.X 的多呢？  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Fri, 30 Dec 2011 13:16:35 +0800</pubDate>
      <link>https://ruby-china.org/topics/651</link>
      <guid>https://ruby-china.org/topics/651</guid>
    </item>
    <item>
      <title>请问 drop_breadcrumb  render_list 这两个函数是在哪里定义的呢？</title>
      <description>&lt;p&gt;没搜到，是 GEM 里面的吗？是哪个 GEM 的呢？谢谢  &lt;/p&gt;</description>
      <author>inetufo</author>
      <pubDate>Wed, 14 Dec 2011 18:34:41 +0800</pubDate>
      <link>https://ruby-china.org/topics/487</link>
      <guid>https://ruby-china.org/topics/487</guid>
    </item>
  </channel>
</rss>
