rails install on live server

I have a blank live server i try to install ruby

I used this command “sudo apt-get update”

But i got an error “sudo: apt-get: command not found”

Is there is need to install Ubuntu on live server ???

This is not a Ruby or Rails issue, but it’s your Linux distribution. You should ask your question in https://askubuntu.com/questions.

After you get this resolved, I would recommend to follow some tutorial how to correctly install Ruby and deploy your Rails application - you can google something like “deploy rails ubuntu tutorial”.

Best of luck.