<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>gnn</title>
    <link>https://ruby-china.org/gnn</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>代码错误，(已 ok)</title>
      <description>&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="c1"&gt;# -*- encoding: utf-8 -*-&lt;/span&gt;
&lt;span class="n"&gt;zimu&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"A"&lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="s2"&gt;"J"&lt;/span&gt;
&lt;span class="n"&gt;zimu&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;each&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
    &lt;span class="nb"&gt;puts&lt;/span&gt; &lt;span class="s2"&gt;"当前的元素为"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;to_s&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;是哪里错呢。眼睛不好使啊&lt;/p&gt;

&lt;p&gt;提示&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Exit code: 1
ruby test.rb
test.rb:4: invalid multibyte char (UTF-8)
test.rb:4: invalid multibyte char (UTF-8)
test.rb:4: syntax error, unexpected $end, expecting keyword_end
    puts "当前的元素为"   +i.to_s
            ^   &lt;/p&gt;
&lt;/blockquote&gt;</description>
      <author>gnn</author>
      <pubDate>Sun, 01 Jul 2012 21:52:24 +0800</pubDate>
      <link>https://ruby-china.org/topics/4067</link>
      <guid>https://ruby-china.org/topics/4067</guid>
    </item>
    <item>
      <title>SctTE 或者 rearails 是不兼容中文吗</title>
      <description>&lt;p&gt;在官网下的软件，可是同样的语句用中文总无法执行，不知道还需要&lt;img src="//l.ruby-china.com/photo/6eba0bafe750feed25d8132503aee533.png" title="" alt=""&gt;
什么补丁吗  &lt;/p&gt;</description>
      <author>gnn</author>
      <pubDate>Fri, 22 Jun 2012 23:03:09 +0800</pubDate>
      <link>https://ruby-china.org/topics/3946</link>
      <guid>https://ruby-china.org/topics/3946</guid>
    </item>
    <item>
      <title>常量使用问题求解 (已解决)</title>
      <description>&lt;p&gt;PLANT  =200
CORPSE=10
puts  "僵尸进攻一次，植物的生命值是："  +(PLANT-CORPSE).to_s&lt;/p&gt;

&lt;p&gt;这段代码照着书上打的，最后的问题出在哪里呢。求解&lt;/p&gt;</description>
      <author>gnn</author>
      <pubDate>Fri, 22 Jun 2012 20:06:50 +0800</pubDate>
      <link>https://ruby-china.org/topics/3944</link>
      <guid>https://ruby-china.org/topics/3944</guid>
    </item>
    <item>
      <title>GEM 安装 RAILS 提示如下 (win7 下安装 rails 解决方案附上)</title>
      <description>&lt;p&gt;有点抓狂，该如何解决，我对着学习实录那本书，
已经 GEM 是最新版本。。。&lt;/p&gt;

&lt;p&gt;&lt;img src="//l.ruby-china.com/photo/5419b6ee08a88013c9022449d2b583dc.png" title="" alt=""&gt;&lt;/p&gt;</description>
      <author>gnn</author>
      <pubDate>Fri, 22 Jun 2012 03:31:33 +0800</pubDate>
      <link>https://ruby-china.org/topics/3934</link>
      <guid>https://ruby-china.org/topics/3934</guid>
    </item>
  </channel>
</rss>
