<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Ritr (石博文)</title>
    <link>https://ruby-china.org/Ritr</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>centos 里 rails server 之后，请求报错</title>
      <description>&lt;ul&gt;
&lt;li&gt;环境阿里云 centos&lt;/li&gt;
&lt;li&gt;执行 rails new blog&lt;/li&gt;
&lt;li&gt;再 cd blog&lt;/li&gt;
&lt;li&gt;再 rails server&lt;/li&gt;
&lt;li&gt;启动后访问链接报错&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~&amp;gt; 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile&lt;/p&gt;</description>
      <author>Ritr</author>
      <pubDate>Wed, 27 Feb 2019 13:31:19 +0800</pubDate>
      <link>https://ruby-china.org/topics/38158</link>
      <guid>https://ruby-china.org/topics/38158</guid>
    </item>
    <item>
      <title>使用 rails 现在还有必要学 erb 吗？</title>
      <description>&lt;p&gt;刚开始学 rails，感觉 view 层的 erb 和 jsp 一样，现在还有必要学习吗？直接使用 ajax+api 怎么样？&lt;/p&gt;</description>
      <author>Ritr</author>
      <pubDate>Wed, 09 Jan 2019 14:43:35 +0800</pubDate>
      <link>https://ruby-china.org/topics/37984</link>
      <guid>https://ruby-china.org/topics/37984</guid>
    </item>
    <item>
      <title>如何学习 ruby 并找到一份初级开发工作</title>
      <description>&lt;p&gt;大家好，我是一名非 ruby 程序员，在教我女朋友学习 ruby，现在 ruby 基础已经学习完毕，那么下一步我们该学习些什么呢？有哪些是必须的，哪些是建议的，哪些是不必须学习的呢？ROR 应该怎么入手学习呢？&lt;/p&gt;</description>
      <author>Ritr</author>
      <pubDate>Wed, 02 Jan 2019 10:10:06 +0800</pubDate>
      <link>https://ruby-china.org/topics/37963</link>
      <guid>https://ruby-china.org/topics/37963</guid>
    </item>
    <item>
      <title>putc ?.</title>
      <description>&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="n"&gt;aFile&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;new&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"input.txt"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"r+"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;aFile&lt;/span&gt;
   &lt;span class="n"&gt;aFile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;syswrite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ABCDEF"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
   &lt;span class="n"&gt;aFile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;rewind&lt;/span&gt;
   &lt;span class="n"&gt;aFile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;each_byte&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;ch&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nb"&gt;putc&lt;/span&gt; &lt;span class="n"&gt;ch&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nb"&gt;putc&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;else&lt;/span&gt;
   &lt;span class="nb"&gt;puts&lt;/span&gt; &lt;span class="s2"&gt;"Unable to open file!"&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;这个 putc ?.是啥意思，没看懂&lt;/p&gt;</description>
      <author>Ritr</author>
      <pubDate>Fri, 07 Dec 2018 17:51:50 +0800</pubDate>
      <link>https://ruby-china.org/topics/37871</link>
      <guid>https://ruby-china.org/topics/37871</guid>
    </item>
    <item>
      <title>请问 ruby 的 $, 怎么用的？</title>
      <description>&lt;p&gt;看介绍是 Array 值分隔符
$, = ","
但是我将 $, = "|"之后
数组 toString 之后的分隔符依然是逗号&lt;/p&gt;</description>
      <author>Ritr</author>
      <pubDate>Thu, 06 Dec 2018 10:57:25 +0800</pubDate>
      <link>https://ruby-china.org/topics/37862</link>
      <guid>https://ruby-china.org/topics/37862</guid>
    </item>
  </channel>
</rss>
