Skip to content Skip to sidebar Skip to footer

Can't Push My Code To Heroku Master

I tried to push my application to heroku but got some errors. Please help many thanks github link: https://github.com/zombie7158/testapp system info: ruby 1.9.3p448 (2013-06-27 rev

Solution 1:

just delete it

group :develppment, :testdo
    gem 'sqlite3'end

and add

gem 'pg'

to you Gemfile and run bundle in project dir

Heroku works with postgres

Solution 2:

Issue solved but I don't know why? there is my step.

  1. add ruby '2.0.0' in my gemfile.

  2. bundle install --without production

Then I check heroku ruby ver. by run 'ruby -v'

it shows:

Running ruby -v attached to terminal... up, run.4896

ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]

It was showed as below before:

ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]

Could someone tell me why?

Post a Comment for "Can't Push My Code To Heroku Master"