<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>longfellow (longFellow)</title>
    <link>https://ruby-china.org/longfellow</link>
    <description>还有很长的路要走</description>
    <language>en-us</language>
    <item>
      <title>安装 Rails 环境时的报错 cannot load such file -- zlib，该如何解决呢</title>
      <description>&lt;p&gt;环境：Ubuntu14.04，ruby 2.4.2，rvm 1.29.3, gem,2.6.13，按照社区 Wiki 的安装方法，其中出现了 ssl 的问题，解决了。之后再安装 gem bundler 和 rails 时，出现：&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ERROR:  Loading &lt;span class="nb"&gt;command&lt;/span&gt;: &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;LoadError&lt;span class="o"&gt;)&lt;/span&gt;
    cannot load such file &lt;span class="nt"&gt;--&lt;/span&gt; zlib
ERROR:  While executing gem ... &lt;span class="o"&gt;(&lt;/span&gt;NoMethodError&lt;span class="o"&gt;)&lt;/span&gt;
    undefined method &lt;span class="sb"&gt;`&lt;/span&gt;invoke_with_build_args&lt;span class="s1"&gt;' for nil:NilClass
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;</description>
      <author>longfellow</author>
      <pubDate>Thu, 21 Sep 2017 14:19:02 +0800</pubDate>
      <link>https://ruby-china.org/topics/34212</link>
      <guid>https://ruby-china.org/topics/34212</guid>
    </item>
  </channel>
</rss>
