<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>faxiubite (王钊)</title>
    <link>https://ruby-china.org/faxiubite</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>求助  安装 DevKit 问题   </title>
      <description>&lt;p&gt;C:\DevKit&amp;gt;ruby dk.rb init
Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.&lt;/p&gt;

&lt;p&gt;我的 ruby 安装在 C 盘，
C:\Ruby200-x64&amp;gt;ruby -v
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]&lt;/p&gt;

&lt;p&gt;我在家的电脑上也遇到这个问题，
安装顺序是先安装 ruby 后安装的 Devkit，参照这个页面，始终不行，&lt;a href="https://github.com/oneclick/rubyinstaller/wiki/Development-Kit" rel="nofollow" target="_blank"&gt;https://github.com/oneclick/rubyinstaller/wiki/Development-Kit&lt;/a&gt;
现在找不到问题点在哪里
请帮忙看一下&lt;/p&gt;</description>
      <author>faxiubite</author>
      <pubDate>Wed, 04 Dec 2013 15:29:57 +0800</pubDate>
      <link>https://ruby-china.org/topics/15998</link>
      <guid>https://ruby-china.org/topics/15998</guid>
    </item>
    <item>
      <title>正则替换求助</title>
      <description>&lt;h2 id="文件 内容如下："&gt;文件 内容如下：&lt;/h2&gt;
&lt;p&gt;1
Over the course
of my long life,
18
Open it up.
19
What the hell?
20
Aah!
21
[Clatter]
22
Rebekah: Hello.
23
Mm.
24
Lovely to see
such a handsome face
25
after a long journey.
26
Can I eat him,
brother?
27
Elijah: I'd rather&lt;/p&gt;
&lt;h2 id="you didn't."&gt;you didn't.&lt;/h2&gt;&lt;h2 id="希望替换后"&gt;希望替换后&lt;/h2&gt;
&lt;p&gt;1
Over the course of my long life,
18
Open it up.
19
What the hell?
20
Aah!
21
[Clatter]
22
Rebekah: Hello.
23
Mm.
24
Lovely to see such a handsome face
25
after a long journey.
26
Can I eat him, brother?
27&lt;/p&gt;
&lt;h2 id="Elijah: I'd rather you didn't."&gt;Elijah: I'd rather you didn't.&lt;/h2&gt;
&lt;p&gt;就是说如果有连续的两行字幕就把区中的换行符换成空格，有没有办法？
long_string = IO.read("the.originals.1.txt")
long_string.gsub!(/[A-Za-z][\s][A-Za-z]/,'')
怎么只替换这一部分？&lt;/p&gt;</description>
      <author>faxiubite</author>
      <pubDate>Wed, 06 Nov 2013 21:16:35 +0800</pubDate>
      <link>https://ruby-china.org/topics/15350</link>
      <guid>https://ruby-china.org/topics/15350</guid>
    </item>
  </channel>
</rss>
