title: How to use Rails and Paperclip to store photos on Google Cloud Storage?
body: <p>Until now, I have been using Amazon S3 for storing users' files.</p>
  
  <p>All what has been needed to do here was:</p>
  
  <ol>
  <li>specify Amazon S3 credentials to the bucket</li>
  <li>add <code>'aws-sdk'</code> gem to the Gemfile</li>
  <li>and in the model:</li>
  </ol>
  
  <hr>
  
  <pre><code>  has_attached_file :avatar, 
                      :styles =&gt; { :big =&gt; "100x100#", :thumb =&gt; "25x25#" },
                      :storage =&gt; :s3,
                      :s3_credentials =&gt; "#{Rails.root}/config/s3.yml",
                      :path =&gt; ":rails_root/public/users/:id/:style/:basename.:extension",
                      :url =&gt; "/users/:id/:style/:basename.:extension"
  </code></pre>
  
  <p>To set the Amazon S3 adapter. That was all.</p>
  
  <p>But how to set up Google cloud engine? So far I found only the <a href="http://fog.io/storage/" rel="noreferrer">fog gem </a>, which I could use.</p>
  
  <p>However, how should I configure the model to automatically store all uploaded files on Google servers?</p>