Re: [Rails] Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-06 Thread Karthik Sirasanagandla
Jus' to be clear, add the said two things in your unicorn.sh script and see the output to help debugging. Makes sense? On Tue, May 6, 2014 at 4:51 PM, Ed Ed wrote: > > Two things: > > 1. Add an echo to output the version of ruby used > > 2. Let the first/initialization command be to use the rig

[Rails] Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-06 Thread Karthik Sirasanagandla
Two things: 1. Add an echo to output the version of ruby used 2. Let the first/initialization command be to use the right version of ruby, say something like `rvm use ruby-2.x.x` Hope it helps! Cheers, Karthik On Tuesday, 6 May 2014 14:56:57 UTC+5:30, Ruby-Forum.com User wrote: > > > What is th

[Rails] Re: sub domain + different rails application

2013-12-17 Thread Karthik Sirasanagandla
Use a webserver like nginx to route traffic to different rails application. Sample config in nginx can be as below: *server {* * # Subdomain* * listen 80;* * server_name subdomain1.domain.com;* * location / {* *proxy_pass http://127.0.0.1:8000/;* * }* *}* *server {* * # Subdomain* * lis