Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

heroku push rejected, failed to compile Ruby/rails app

Having the following issue, BRAND NEW TO RoR, first time ever trying to upload an app to go live, first had hosting issues, then decided if i could fix them with heroku i would just use a custom domain with heroku...... No this isnt a test app "learning rails" thing, actual app i want to deploy for use within the business I own, any help would be great, I have searched and havent seen a solution to this problem.

Make sure 'gem install sqlite3 -v 1.3.7' succeeds before bundling.

Failed to install gems via Bundler

Heroku push rejected, failed to compile Ruby/rails app

To [email protected]:peaceful-chamber-6371.git
[remote rejected] master -> master <pre-receive hook declined>
error: failed to push some refs to '[email protected]:peaceful-chamber-6371.git

Gem File

source 'https://rubygems.org'

gem 'rails', '3.2.12'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development, :test do
gem 'sqlite3'
end
group :production do
  gem 'pg'
end


# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', :platforms => :ruby

  gem 'uglifier', '>= 1.0.3'
  gem 'twitter-bootstrap-rails'
end

gem 'jquery-rails'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the app server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'debugger'
like image 945
Jeff Gray Avatar asked Apr 01 '13 03:04

Jeff Gray


1 Answers

try this,

remove Gemfile.lock file and do bundle install , then git add, git commit and git push .

like image 140
Vamsi Krishna B Avatar answered Oct 10 '22 23:10

Vamsi Krishna B