Topic: Problem with heroku

Hello I am trying to install Rails on my heroku server doing the following:

git push heroku master

then I get the following:

Warning: Permanently added the RSA host key for IP address 'x.x.x.x' to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

I had installed the RSA key before doing the following:

sudo heroku keys:add-

and also uploaded to the server doing the following:


sudo heroku keys:add

How can I solve this error to install Rails on Heroku? so I can start programming my app. What I am doing wrong?


Cheers!!

Re: Problem with heroku

I am also getting this



user@ubuntu:~/rails_projects/first_app$ sudo git push heroku master
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
user@ubuntu:~/rails_projects/first_app$

What is the problem?

How can I solve it, please?

Cheers!!

Last edited by codeman1234 (2012-06-06 15:53:46)

Re: Problem with heroku

"ssh-add" command should fix it

Re: Problem with heroku

Hey ekremkrc,


before anything thanks for the reply, I just tried your command and I get the following:

user@ubuntu:~/rails_projects/first_app$ sudo ssh-add
Could not open a connection to your authentication agent.

Cheers!

Re: Problem with heroku

Please anyone need to solve this asap, to start developing.

Please help!

Re: Problem with heroku

Is there another server I can use?

Cheers!

Re: Problem with heroku

I just manage to configure apache + mysql + ruby on rails + passenger locally, the only problem I have to finish the set up is on the welcome page of ruby on rails the one that says "Welcome aboard You’re riding Ruby on Rails!", when I click down below where it says "About your application’s environment" it is supposed to show you all the information about the ruby and rails version installed but, instead I get the following error "The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved." When I installed passenger I copied the ruby route that shows you at the end of the installation on the apache2.conf for the passenger route and is woking fine because when I put "sudo passenger-status" I get the following:

----------- General information -----------
max      = 6
count    = 1
active   = 0
inactive = 1
Waiting on global queue: 0

----------- Application groups -----------
/var/www/myapp:
  App root: /var/www/myapp
  * PID: 21788   Sessions: 0    Processed: 4       Uptime: 25m 41s


so, the only thing I can think is that route is wrong and apache cannot find it, so how I fix it? Please help!

Cheers!

Last edited by codeman1234 (2012-06-07 00:26:14)