Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Deployment with nginx and Unicorn #23

keybits opened this Issue · 2 comments

3 participants

Tom Atkins Zachary Scott John Murray
Tom Atkins

Thanks for the excellent recipes. I just set up a server with the nginx and unicorn recipe.

Everything worked fine except in I needed to change:

require 'myapp.rb'


require './myapp.rb'

This is required for Ruby versions 1.9.2 and above. See the top answer here for more info:

Zachary Scott

I think we better make sure that the 1.8.7 version is still supported, patches welcome :)

John Murray

You could always do:

$: << ::File.expand_path('../', __FILE__)
require 'myapp'
Zachary Scott zzak closed this in ea4dbcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.