<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>shoto (shoto)</title>
    <link>https://ruby-china.org/shoto</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>用 RVM 安装了 rails，但为什么每次重开 iTerm 后输入 rails -v，总是提示我需要重新 gem install rails？</title>
      <description>&lt;p&gt;新手，完全不知道哪里配置不对。按照教程&lt;a href="http://railsapps.github.io/installrubyonrails-mac.html" rel="nofollow" target="_blank"&gt;http://railsapps.github.io/installrubyonrails-mac.html&lt;/a&gt;一步一步安装的。&lt;/p&gt;

&lt;p&gt;但每次重新打开 iterm 再次时，就提示 rails 没有安装。要求重新安装。&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;➜  ~  rails &lt;span class="nt"&gt;-v&lt;/span&gt;
Rails is not currently installed on this system. To get the latest version, simply &lt;span class="nb"&gt;type&lt;/span&gt;:

    &lt;span class="nv"&gt;$ &lt;/span&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;gem &lt;span class="nb"&gt;install &lt;/span&gt;rails

You can &lt;span class="k"&gt;then &lt;/span&gt;rerun your &lt;span class="s2"&gt;"rails"&lt;/span&gt; command.
&lt;/code&gt;&lt;/pre&gt;</description>
      <author>shoto</author>
      <pubDate>Thu, 02 Apr 2015 15:27:33 +0800</pubDate>
      <link>https://ruby-china.org/topics/24960</link>
      <guid>https://ruby-china.org/topics/24960</guid>
    </item>
  </channel>
</rss>
