All threads / deploy Rails

Ask A Question

Notifications

You’re not receiving notifications from this thread.

deploy Rails

Anthony Candaele asked in Rails

I following the deploy rails instructions on GoRails.

When I tried to install Ruby 2.1.2 with rbenv, I got this error message:

"no acceptable c compiler found in $PATH"

I solved it by running this command as root user:

apt-get install build-essential

I found the solution on StackOverflow: http://stackoverflow.com/questions/19816275/no-acceptable-c-compiler-found-in-path-when-installing-python

just wanted to report, for people running in the same issue as I am.

greetings,

Anthony

I wanted to delete my own comment, but apparantly this is not possible!

you also may run into this issue when first doing an ssh login:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
<some key>
Please contact your system administrator.
Add correct host key in /Users/youraccount/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/youraccount/.ssh/known_hosts:12
RSA host key for <your host ip-address> has changed and you have requested strict checking.
Host key verification failed.

To fix this I run:

ssh-keygen -R [host ip-address]

I found the solution on Stack Overflow: http://stackoverflow.com/questions/20840012/ssh-remote-host-identification-has-changed

hope this might help someone running in the same issue as I am,

Anthony

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 33,665+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.