Hi, No one else really replied on this--- But I am wondering if anyone can tell me how I can get my rails development log to stream (as in tail -f) into the unicorn server output... I thought I needed to do logger = Logger.new(STDOUT) in my config file, but that doesn't seem to do it.
Any ideas? Patrick J. Collins http://collinatorstudios.com On Wed, 22 Feb 2012, Patrick J. Collins wrote: > Hi Unicorn friends, > > I wanted to try out Unicorn as my development server and I see that I > need to perform some configuration to make this work nicely with rails. > From what I can tell the only real things I need to do to make unicorn > similar to the default rails server is to supply a config file with: > > listen 3000 > logger Logger.new(STDOUT) > > ... > > After creating this file, I was kind of confused as to how to proceed.. > Should I made a bash alias like > > alias unicorn="unicorn_rails -c /path/to/unicorn_config.rb" > > and lastly, is there a convention where a configuration file like this > should go on a unix/OS X system? > > Thank you kindly. > > Patrick J. Collins > http://collinatorstudios.com > > _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
