title: Problem using the 'paperclip' gem and Ruby on Rails 3
body: <p>I am using Ruby on Rails 3 on a MacOs running 'Snow Leopard' v1.6.5.</p>
  
  <p>I want to use the 'paperclip' gem so I included it in my Gemfile like this:</p>
  
  <pre><code>gem 'paperclip', "~&gt; 2.3"
  </code></pre>
  
  <p>Then, in the Terminal I run the command:</p>
  
  <pre><code>sudo bundle install
  </code></pre>
  
  <p>The result is:</p>
  
  <pre><code>...
  Using paperclip (2.3.8) 
  Using thor (0.14.6) 
  Using railties (3.0.1) 
  ...
  Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
  </code></pre>
  
  <p>that means that 'paperclip v2.3.8' is installed.</p>
  
  <p>Then I restarted 'apache' from the 'System Preferences/Sharing/ panel</p>
  
  <p>Using my RoR application and navigating locally in the website, I realized that something was wrong. So, going to see logs in the 'Console Messages', I found the following:</p>
  
  <pre><code>18/01/2011 16:50:52 org.apache.httpd[12972] [31mCould not find paperclip-2.3.8 in any of the sources[0m
  </code></pre>
  
  <p><strong>What means? How to resolve the problem?</strong></p>
  
  <hr>
  
  <p><strong>UPDATE ( important ! ! ! )</strong></p>
  
  <p>I reinstalled correctly RVM and now, running the command 'rvm', I get it to work... but 'paperclip' doesn't yet: in logs I still have the problem '<code>Could not find paperclip-2.3.8 in any of the sources</code>'.</p>
  
  <p>Notice: this time I used <code>bundle install</code> instead of <code>sudo bundle install</code>!</p>
  
  <p><em>I discovered that running the command 'rails server' in the Terminal, my RoR3 application works great with 'paperclip' on the URL <code>http://0.0.0.0:3000</code>. It doesn't when I use the basic installation of apache from 'Snow Leopard' on the URL <code>http://project.local</code>.</em> <strong>Why does it happen?!</strong></p>
  
  <hr>
  
  <p><strong>EDIT (after a request in an answer)</strong></p>
  
  <p>The output of <code>rvm info</code> is:</p>
  
  <pre><code>/usr/local/bin/rvm: line 73: /Users/&lt;my_user_name&gt;/.rvm/scripts/rvm: No such file or directory
  ...
  &lt;A lot of the same line&gt;
  ...
  /usr/local/bin/rvm: line 73: /Users/&lt;my_user_name&gt;/.rvm/scripts/rvm: No such file or directory
  /usr/local/bin/rvm: fork: Resource temporarily unavailable
  /usr/local/bin/rvm: fork: Resource temporarily unavailable
  </code></pre>
  
  <hr>
  
  <p>P.S. I: I tryed to use <code>gem 'paperclip', '2.3.8'</code> instead of <code>gem 'paperclip', "~&gt; 2.3"</code>, but it doesn't work.</p>
  
  <p>P.S. II: I am also using <em>MacPorts</em> and I have installed <em>Image-Magick</em>.</p>