Which linux distribution is best suited for production rails apps?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
11 views
Now I use Debian.

It took to deploy a Rails 3 app, I realized that this is a fairly trivial task for Debian.


And what OS you twist your Rails app?
by | 11 views

6 Answers

0 like 0 dislike
Debian lenny manually. And what kind of problems arose?
by
0 like 0 dislike
Try to install ruby via rvm
\r
Source: craiccomputing.blogspot.com
\r
Currently, ruby is more convenient to put through rvm
\r
\r

Installing RVM


\r
\r
$ sudo apt-get install git-core curl $ sudo bash < <( curl -L http://bit.ly/rvm-install-system-wide ) $ sudo usermod -aG rvm ubuntu 

relogin
\r
In .bashrc don't forget to add [[ -s '/usr/local/lib/rvm' ]] && source '/usr/local/lib/rvm'
\r
\r

Installing ruby


First, put the rvm version of iconv
(native in Ubuntu does not work :(. In the code of your program you can remove the "require iconv")
\r
NB: the same thing is possible in the case of readline, autoconf, Zlib, openssl
\r
\r
$ rvm package install iconv $ rvm install 1.9.2 --with-iconv-dir=$rvm_path/usr 

\r
\r

gems (gemset)


\r
\rhttp://railstutorial.org/
\r
\r
$ rvm gemset create 1.9.2@you_gemset (1.9.2 ruby -- version) $ rvm gemset use you_gemset $ rvm gem install rails $ rvm gem list 

\r
\r

web-server (nginx)


\r
\rwww.modrails.com/install.html
\r
\r
$ rvm gem install passenger $ passenger-install-nginx-module 
by
0 like 0 dislike
Trying to configure apache+passenger+rails3
Rails3 in repositories not found, using gems is also is not put.
\r
And you're 3 rails Deplete?
If you can, please give some explanatory manual.
by
0 like 0 dislike
C given the fact that рельсы3 was released in August 2010 by default, none of the distribe they will not, connect additional repositories to testing sorts.
Or if you are too lazy to look for it manually collect.
how to put on Ubuntu is here
\rbeyondthewheel.com/2010/12/installing-rails-3-on-ubuntu-10-10/
by
0 like 0 dislike
Look here about ubuntu and amazon ec2: habrahabr.ru/blogs/hosting/109045/
by
0 like 0 dislike
I also have apache+passenger+rails3. Put like this manual:
\ralexwinner.blogspot.com/2010/06/ror-ruby-on-rails-apache2.html
\r
Set the rails as a gem, no problems arose.
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
1 answer
asked Jun 10, 2019 by vesh95
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
28,049 users