unicorn, rails, and symlinked deployment

Michael Guterl mguterl at gmail.com
Wed Nov 18 21:45:08 EST 2009


On Wed, Nov 18, 2009 at 8:51 PM, Eric Wong <normalperson at yhbt.net> wrote:
> Eric Wong <normalperson at yhbt.net> wrote:
>> Michael Guterl <mguterl at gmail.com> wrote:
>> > cd ~/public_html/rm/current
>> > unicorn_rails -D -E production -c config/unicorn.rb
>> >
>> > I determined the -c config/unicorn.rb was the problem.  If I change it to:
>> >
>> > unicorn_rails -D -E production -c ~/public_html/rm/current/config/unicorn.rb
>> >
>> > everything works fine.
>>
>> Hmm, maybe the config file path shouldn't be expanded then.  Especially
>> since it's only specified in the command-line.  /me ponders a bit...
>
> Hi Michael,
>
> Just pushed this out, too.  This should work better for you with:
>
>  unicorn_rails -D -E production -c config/unicorn.rb
>
> Oddly, this has been a problem since the beginning of time and probably
> confused a good amount of people.
>
> Thanks Michael for finally bringing it to my attention.  Most folks I
> know favor absolute ones (including myself), and don't hit this
> problem...  Of course let me know if I broke something for anyone,
> I hope not...
>
Thank you Eric, it has been my pleasure to put to use such a great
tool in my ruby arsenal.  Your contribution to the community is
greatly appreciated.

Michael Guterl


More information about the mongrel-unicorn mailing list