title: fedora execute "gem install bundler"
body: <p>I want to use octopress. so i view the "how to" in this website
    <a href="http://octopress.org/docs/setup/" rel="nofollow noreferrer">http://octopress.org/docs/setup/</a>
    All is successful until type "gem install bundler" in bash-shell
    The output likes the below:</p>
  
  <pre><code>[root@litian octopress]# gem install bundler
  ERROR:  Loading command: install (LoadError)
      no such file to load -- zlib
  ERROR:  While executing gem ... (NameError)
      uninitialized constant Gem::Commands::InstallCommand
  </code></pre>
  
  <p>I search on the web, and find that may be zlib1g and zlib1g-dev are short
  But when i use
  yum search zlib1g, the result is no match</p>
  
  <p>i also find this
  <a href="https://stackoverflow.com/questions/3518294/installing-rails-path-on-ubuntu-with-rvm">Installing Rails Path on Ubuntu with RVM</a>
  so 
  i type </p>
  
  <pre><code>rvm pkg install zlib
  </code></pre>
  
  <p>the output is</p>
  
  <pre><code>Fetching zlib-1.2.5.tar.gz to /usr/local/rvm/archives
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:--  0:01:05 --:--:--     0curl: (7) couldn't connect to host
  ERROR: There was an error, please check /usr/local/rvm/log//*.log. Next we'll try to fetch via http.
  Trying http:// URL instead.
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:--  0:00:46 --:--:--     0^CERROR: There was an error, please check /usr/local/rvm/log//*.log
  </code></pre>
  
  <p>i don't know what to do,now.</p>