<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>knewmei (Magician)</title>
    <link>https://ruby-china.org/knewmei</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>请问如何在服务器上部署一个稳定的生产环境 </title>
      <description>&lt;p&gt;在 google 上参考 这个方法 最后发现 只要一关到 iterm 服务器就停了！&lt;/p&gt;
&lt;h2 id="安装  sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel"&gt;安装  sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel&lt;/h2&gt;&lt;h3 id="修改配置"&gt;修改配置&lt;/h3&gt;&lt;h3 id="cd"&gt;cd&lt;/h3&gt;&lt;h3 id="git clone git://github.com/sstephenson/rbenv.git .rbenv"&gt;git clone git://github.com/sstephenson/rbenv.git .rbenv&lt;/h3&gt;&lt;h3 id="echo 'export PATH="&gt;echo 'export PATH="$HOME/.rbenv/bin:$PATH"' &amp;gt;&amp;gt; ~/.bash_profile&lt;/h3&gt;&lt;h3 id="echo 'eval "&gt;echo 'eval "$(rbenv init -)"' &amp;gt;&amp;gt; ~/.bash_profile&lt;/h3&gt;&lt;h3 id="exec $SHELL"&gt;exec $SHELL&lt;/h3&gt;&lt;h3 id="git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build"&gt;git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build&lt;/h3&gt;&lt;h3 id="echo 'export PATH="&gt;echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' &amp;gt;&amp;gt; ~/.bash_profile&lt;/h3&gt;&lt;h3 id="exec $SHELL"&gt;exec $SHELL&lt;/h3&gt;&lt;h3 id="安装"&gt;安装&lt;/h3&gt;&lt;h2 id="rbenv install -v 2.2.1"&gt;rbenv install -v 2.2.1&lt;/h2&gt;&lt;h2 id="rbenv global 2.2.1"&gt;rbenv global 2.2.1&lt;/h2&gt;&lt;h2 id="启动"&gt;启动&lt;/h2&gt;
&lt;p&gt;### rails server --binding=server_public_IP&lt;/p&gt;

&lt;p&gt;### 中间的就是安装过程。。到了最后。。 &lt;/p&gt;
&lt;h3 id="最后关掉终端 就不能访问了 ？为什么"&gt;最后关掉终端 就不能访问了？为什么&lt;/h3&gt;</description>
      <author>knewmei</author>
      <pubDate>Tue, 14 Jul 2015 17:31:18 +0800</pubDate>
      <link>https://ruby-china.org/topics/26478</link>
      <guid>https://ruby-china.org/topics/26478</guid>
    </item>
    <item>
      <title>CentOS 源码安装 ruby 指定 ./configure --prefix=/usr/local/ruby make &amp;&amp; make install</title>
      <description>&lt;p&gt;&lt;img src="https://l.ruby-china.com/photo/2015/225b2ec2fc1204c7b680e7356ec53f75.png" title="" alt=""&gt;
exprot PATH=/usr/local/ruby:$PATH&lt;/p&gt;

&lt;p&gt;ruby -v &lt;/p&gt;

&lt;p&gt;is not found &lt;/p&gt;</description>
      <author>knewmei</author>
      <pubDate>Wed, 14 Jan 2015 17:28:08 +0800</pubDate>
      <link>https://ruby-china.org/topics/23736</link>
      <guid>https://ruby-china.org/topics/23736</guid>
    </item>
    <item>
      <title>刚在 Mac 上装 Ruby brew install ruby 出现错误 删除安装目录后无法安装！</title>
      <description>&lt;p&gt;➜  Cellar git:(master) brew install ruby
==&amp;gt; Downloading &lt;a href="https://downloads.sf.net/project/machomebrew/Bottles/ruby-2.2.0.mavericks.bottle.tar.gz" rel="nofollow" target="_blank"&gt;https://downloads.sf.net/project/machomebrew/Bottles/ruby-2.2.0.mavericks.bottle.tar.gz&lt;/a&gt;
Already downloaded: /Library/Caches/Homebrew/ruby-2.2.0.mavericks.bottle.tar.gz
==&amp;gt; Pouring ruby-2.2.0.mavericks.bottle.tar.gz
Warning: This keg was marked linked already, continuing anyway
&lt;img title=":beer:" alt="🍺" src="https://twemoji.ruby-china.com/2/svg/1f37a.svg" class="twemoji"&gt;  /usr/local/Cellar/ruby/2.2.0: 1080 files, 21M
➜  Cellar git:(master)&lt;/p&gt;

&lt;p&gt;想问一下 重新安装应该怎么做？&lt;/p&gt;</description>
      <author>knewmei</author>
      <pubDate>Sun, 04 Jan 2015 15:20:16 +0800</pubDate>
      <link>https://ruby-china.org/topics/23534</link>
      <guid>https://ruby-china.org/topics/23534</guid>
    </item>
  </channel>
</rss>
