Heroku- Could not find paperclip-3.1.3 in any of the sources


This morning when I tried to update my website, heroku didn't let me push the app. Here's the message I got.

Fetching gem metadata from http://rubygems.org/....... Fetching gem metadata from http://rubygems.org/.. Fetching git://github.com/drhenner/nifty-generators.git Could not find paperclip-3.1.3 in any of the sources ! ! Failed to install gems via Bundler. ! ! Heroku push rejected, failed to compile Ruby/rails app ! [remote rejected] master -> master (pre-receive hook declined)

I don't have paperclip- 3.1.3 in my gem file. I'm not sure why it's looking for paperclip 3.1.3 Here's my gem file

source 'http://rubygems.org' gem 'rails', '~> 3.2.6' gem 'asset_sync' group :assets do gem 'uglifier', '>= 1.0.3' end gem 'sass-rails', " ~> 3.2.3" gem "activemerchant", '~> 1.17.0' #, :lib => 'active_merchant' gem 'authlogic', "3.0.3" gem 'bluecloth', '~> 2.1.0' gem 'cancan', '~> 1.6.7' gem 'compass', '~> 0.12.rc.0' gem 'compass-rails' gem 'dalli', '~> 1.1.5' gem "friendly_id", "~> 3.3" gem 'haml', ">= 3.0.13"#, ">= 3.0.4"#, "2.2.21"#, gem "jquery-rails" gem 'aws-sdk' group :production do gem 'pg' gem 'thin' end gem 'nested_set', '~> 1.6.3' gem 'nokogiri', '~> 1.5.0' gem 'paperclip', '~> 3.0' gem 'prawn', '~> 0.12.0' gem 'rails3-generators', '~> 0.17.0' gem 'rmagick', :require => 'RMagick' gem 'rake', '~> 0.9.2' gem 'state_machine', '~> 1.1.2' gem 'sunspot_solr' gem 'sunspot_rails', '~> 1.3.0rc' gem 'will_paginate', '~> 3.0.0' gem 'dynamic_form' group :development do gem 'sqlite3' gem "autotest-rails-pure" gem "rails-erd" gem "ruby-debug19" end group :test, :development do gem "rspec-rails", "~> 2.8.0" gem 'capybara', :git => 'git://github.com/jnicklas/capybara.git' gem 'launchy' gem 'database_cleaner' end group :test do gem 'factory_girl', "~> 3.3.0" gem 'factory_girl_rails', "~> 3.3.0" gem 'mocha', '~> 0.10.0', :require => false gem 'rspec-rails-mocha' gem "rspec", "~> 2.8.0" gem "rspec-core", "~> 2.8.0" gem "rspec-expectations", "~> 2.8.0" gem "rspec-mocks", "~> 2.8.0" gem 'email_spec' gem "faker" gem "autotest", '~> 4.4.6' gem "autotest-rails-pure" gem "autotest-growl" gem "ZenTest", '4.6.2' end


Version 3.1.3 of Paperclip was "yanked" for some reason. You can see this on the <a href="http://rubygems.org/gems/paperclip/versions/3.1.3" rel="nofollow">RubyGems page for that version</a>. Obviously your Gemfile was bundled during the brief period this Gem was available.

Version 3.1.4 was it's immediate replacement, if you do not wish to upgrade to the latest version (3.3.1).

To use this you should update your Gemfile to read:

gem 'paperclip', '~> 3.1.4'

Run bundle update paperclip after editing the Gemfile.


"I don't have paperclip- 3.1.3 in my gem file. I'm not sure why it's looking for paperclip 3.1.3"


~>3.0 is like saying >=3.0 and <4.0. Hence 3.1.3 is valid. The relevant documentation is available on the <a href="http://gembundler.com/v1.2/gemfile.html" rel="nofollow">Bundler website</a>.


  • Rails 3.1.1 deploy to Heroku failing
  • application.js isn't precompiled
  • Aggregate functions on multiple tables not giving correct results
  • Requesting Picture for Event
  • heroku push error: “Could not detect rake tasks”
  • Precompiling assets failed
  • C# and Regex: How to extract strings between quotation marks
  • Broken spree_fancy layout on heroku
  • Custom views not loading in production mode, but load in development
  • Is the Rails 4.2 app taking too much memory?
  • Create a nested serializer with Django Rest Framework, but without primary keys as identity
  • When deploying heroku app I get push rejected error (Precompiling assets failed)
  • heroku coffee-rails failure in asset precompile
  • How to set an option to delete envelope in docusign
  • Changing SQL query from one condition to several
  • Comparing three Comma separated values in SQL
  • Paypal | Website Payment Standard | Adddress Override
  • How to deploy react with express to heroku
  • How do I enable Chrome DevTools Experiments?
  • Using ENV files in production on Heroku
  • How to make an Ionic content scroll
  • Static url to asset
  • Jenkins Build Error: Build step 'Invoke top-level Maven targets' marked build as failure
  • Trying to get mvc resources to serve my static resources
  • BackgroundMediaPlayer set Uri source of Media library item
  • How can i use same custom fonts for both android and ios using react native
  • angularjs ng-bind-html html input part missing
  • Rails 4.0.0 jQuery Mobile button icons not showing in production
  • Simple test app deploys to Heroku but won't run
  • Possible to “watch” both HAML and SASS at the same time?
  • How to get latest version of a artifact on Bintray using JSONP
  • During installation of Django, why do I keep getting ImportError: No module named django?
  • error importing numpy
  • Very simple C++ DLL that can be called from .net
  • Bad request using file_get_contents for PUT request in PHP
  • Xamarin Forms - UWP Fonts
  • HTML download movie download link
  • SSO with signing and signature validation doesn't work
  • Deserializing XML into class C#
  • costura.fody for a dll that references another dll