RailsCasts Pro episodes are now free!

Learn more or hide this

hgujral's Profile

GitHub User: hgujral

Comments by


These comments are more than 6 months old but I came across the same problem and the fix is to stop and start the unicorn service separately after cap deploy

cap deploy:stop
cap deploy:start

unicorn_init.sh seems to have an issue for a restart with the following:

sig HUP && echo reloaded OK && exit 0
echo >&2 "Couldn't reload, starting '$CMD' instead"
run "$CMD"

The unicorn service will not point to the latest release and recognize the new gems you might have added to the Gemfile since your last deploy.

Hope this helps.


Did you get an answer to this? Facing the same issue.


I keep getting:
Uncaught TypeError: Object # has no method 'autocomplete'

I've included jQuery UI in application.js:
//= require jquery-ui

... and my coffeescript:
jQuery ->
source: ["foo", "food", "four"]

What am I missing!?