rails_tutorial_3rd_edition_gemfiles
rails_tutorial_3rd_edition_gemfiles copied to clipboard
Unable to push to heroku
Counting objects: 74, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (63/63), done.
Writing objects: 100% (74/74), 18.58 KiB | 0 bytes/s, done.
Total 74 (delta 8), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.4
remote: -----> Installing dependencies using bundler 1.11.2
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
remote: Fetching gem metadata from https://rubygems.org/...........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Could not find rake-11.2.1 in any of the sources
remote: Bundler Output: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
remote: Fetching gem metadata from https://rubygems.org/...........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Could not find rake-11.2.1 in any of the sources
remote: !
remote: ! Failed to install gems via Bundler.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to fast-garden-35459.
remote:
To https://git.heroku.com/fast-garden-35459.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/fast-garden-35459.git'
Tried so many times and a lot of methods, but none worked. Please help!
Can you post your gem file?
am having same problem:
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.7
-----> Installing dependencies using bundler 1.11.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
Some gems seem to be missing from your vendor/cache directory.
Could not find rake-11.3.0 in any of the sources
Bundler Output: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
Some gems seem to be missing from your vendor/cache directory.
Could not find rake-11.3.0 in any of the sources
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app.
! Push failed
Here is my Gemfile:
source 'https://rubygems.org' #Specify a Ruby version before specifying any gems: ruby '2.1.7'
Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
#gem 'rails', '4.0.4'
gem 'rails', '~>4.1.6'
gem 'rack-cache'
gem 'rack-bug'
group :assets do # Use SCSS for stylesheets gem 'sass-rails', '~> 4.0.2' # Use Uglifier as compressor for JavaScript assets gem 'uglifier', '>= 1.3.0' # Use CoffeeScript for .js.coffee assets and views gem 'coffee-rails', '~> 4.0.0' end
gem 'jquery-rails' gem 'turbolinks' gem 'jquery-turbolinks' gem 'rabl' gem "nokogiri", ">= 1.6.8.1" group :doc do gem 'sdoc', require: false end gem 'unicorn' gem 'puma' gem "figaro" gem 'devise' gem 'cancan' gem 'rails_admin' gem 'rack-cors', :require => 'rack/cors' group :production do gem 'rails_12factor' end group :development, :production do gem 'pg', '0.18.4' end gem 'rubygems-update', '~> 2.4.6' #added gem 'mail' gem 'postmark' gem 'postmark-rails', '>= 0.10.0' gem 'local_time', '~>1.0.3' gem "recaptcha", require: "recaptcha/rails" gem 'font_assets' gem 'bootstrap-sass', '~> 3.3.5' gem 'font-awesome-sass', '~> 4.3.0'
Any solution please?