<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>kevinli (kevinLi)</title>
    <link>https://ruby-china.org/kevinli</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>使用 Puma 部署，Nginx 配置域名，可以正常访问 public 下的资源，但是访问网站返回 EOF</title>
      <description>&lt;p&gt;puma 部署到服务器上，测试都 ok，nginx 绑定域名应该也没有错误。
访问 public 下的资源也可以正常
但是访问网站就会出错。。
崩溃&lt;/p&gt;

&lt;p&gt;本地使用 rails s 启动服务器，一切 ok。
代码都是一样的。&lt;/p&gt;

&lt;p&gt;log
&lt;img src="https://l.ruby-china.com/photo/2016/648eb6766b4869d45d7eba7a7abf0c59.png!large" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;error
&lt;img src="https://l.ruby-china.com/photo/2016/72e60466d013f3d77e02825294b53db0.png!large" title="" alt=""&gt;&lt;/p&gt;</description>
      <author>kevinli</author>
      <pubDate>Tue, 29 Nov 2016 11:19:43 +0800</pubDate>
      <link>https://ruby-china.org/topics/31728</link>
      <guid>https://ruby-china.org/topics/31728</guid>
    </item>
    <item>
      <title>Ruby 切换了 gem sources 但是运行 bundle install 的时候，仍然是 fetch 淘宝的镜像链接</title>
      <description>&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kevindeMacBook-Pro:dangqi kevin$ gem sources
*** CURRENT SOURCES ***

https://gems.ruby-china.org/
kevindeMacBook-Pro:dangqi kevin$ bundle install
Fetching source index from https://ruby.taobao.org/
Could not verify the SSL certificate for
https://ruby.taobao.org/quick/Marshal.4.8/nokogiri-1.6.6.2.gemspec.rz.
There is a chance you are experiencing a man-in-the-middle attack, but most
likely your system doesn't have the CA certificates needed for verification. For
information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect
without using SSL, edit your Gemfile sources and change 'https' to 'http'.
kevindeMacBook-Pro:dangqi kevin$ 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;或者解决 openssl 的问题后页可以，&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kevindeMacBook-Pro:dangqi kevin$ rails server
Could not find nokogiri-1.6.6.2 in any of the sources
Run `bundle install` to install missing gems.
kevindeMacBook-Pro:dangqi kevin$ 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;但是这个 gem 插件就装不上了&lt;/p&gt;

&lt;p&gt;发现 ruby 的 gem 安装各种问题，都快崩溃了，求助大神&lt;/p&gt;</description>
      <author>kevinli</author>
      <pubDate>Wed, 17 Aug 2016 16:19:37 +0800</pubDate>
      <link>https://ruby-china.org/topics/30838</link>
      <guid>https://ruby-china.org/topics/30838</guid>
    </item>
  </channel>
</rss>
