Reputation: 13
First off there is a lot of other errors I am getting, but I want to start with the lead error.. Ok so i want to push my project to my heroku server. I am in my apps directory and i run "git push heroku master" and this is what i get
Identity added: /Users/some_ayodele/.ssh/id_rsa (/Users/some_ayodele/.ssh/id_rsa)
Initializing repository, done.
Counting objects: 145, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (124/124), done.
Writing objects: 100% (145/145), 31.06 KiB, done.
Total 145 (delta 27), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.5.2
New app detected loading default bundler cache
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Your Gemfile lists the gem pg (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem pg (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem jquery-rails (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
* carrierwave
* rmagick
* heroku
* git-rails
* hoe (~> 1.5.1)
* RedCloth
* i18n
You have deleted from the Gemfile:
* thin
Bundler Output: Your Gemfile lists the gem pg (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem pg (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem jquery-rails (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
* carrierwave
* rmagick
* heroku
* git-rails
* hoe (~> 1.5.1)
* RedCloth
* i18n
You have deleted from the Gemfile:
* thin
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app
To [email protected]:desolate-temple-6370.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:desolate-temple-6370.git'
Upvotes: 0
Views: 631
Reputation: 93
First of all, I think Postgres is the issue here. I believe Heroku and Rails builtin PG causes some issue. Try editing your gem page like this:
group :development, :test do
gem 'sqlite3'
end
group :production do
gem 'pg'
gem 'rails_12factor'
end
Then, do "bundle install".
If this doesn't work try doing "bundle install --without production"
Hope this helps.
Upvotes: 1