I need some help related to the below requirements:
-> I need to setup production environment without installing Ruby or
Rails or other related gems into it.
I did accomplish the same using JRuby, bundler and warbler plugin. And
deployed the WAR file into Apache Tomcat server. But now I have to do
this without JRuby & Apache Tomcat.
-> I have to setup Apache with Passenger module in production
environment. So is there any way to just install and configure apache
and passenger alone, and no need to install Ruby or Rails or any other
gems?
-> Performance wise - which is better among the following options:
1) Apache + Passenger (using Ruby)
2) Ngnix + Passenger (using Ruby)
3) Apache + Mongrel cluster (using Ruby)
4) Tomcat using JRuby
5) Glassfish + Apache using JRuby
-> I personally found in development machines that Ruby (webrick) is
faster than JRuby (webrick). Am I correct? Will it be the same in
Production environment too?
Also, let me know if there is any tutorial for installing and
configuring Apache & Passenger module.
Thanks in advance.
Regards,
Vasanth
--
Posted via http://www.ruby-forum.com/.
First of all, you need to install Ruby. Passenger depends on Ruby.
Next, you install passenger (just use `gem install passenger` and take a look at manual on the passenger website). I would recommend to you use Apache/Passenger, because it's probably the easiest environment to set up. Performance *may* be slightly better with a different setup (honestly I don't know for sure).
Finally, you need to install Rails and other Gems your application depends on. This isn't a big issue if you are using Rails 3.0. If you hit a culprit, just take a look at the documentation. In case you are looking to automate your deployment process, check out capistrano.
Disclaimer: Please try to ask a more specific questions in the future. If you are looking for a tutorial, the mailing list isn't right place to go.
Best regards,
Christoph
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>
-> I personally found in development machines that Ruby (webrick) is
faster than JRuby (webrick). Am I correct? Will it be the same in
Production environment too?