V
V
vadim22013-07-13 23:05:44
Debian
vadim2, 2013-07-13 23:05:44

Installing Ruby on Rails on Debian 6

I used to use Heroku, but the features of the free plan were not enough, and the extension was too expensive, so I decided to switch to vps. But since I never had to deal with configuring rails before, this is where the problem arose. Maybe someone can tell me how to set up the server to work rails 4 with apache or nginx and MySQL or PostgreSQL.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Loremaster, 2013-07-14
@loremaster

Railscasts has a great tutorial on deploying to vps: railscasts.com/episodes/335-deploying-to-a-vps
A couple of notes:
1) It's paid (but $9/month for a big enough base is a small price to pay).
2) Ubuntu is installed there as an OS (but I think you will understand the main idea).

T
Tonis Simo, 2013-07-15
@estum

To install ruby: rvm , will install all the dependencies itself, rvm notesgive information for a specific system.
Postgres: apt-get install pg
Web server: depending on religion. I personally prefer nginx + unicorn.
It would also be nice to raise a git server (it's quite simple) to deploy to the server using capistrano.
Here are the keywords for you to search, everything is painted a bunch of times on the Internet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question