RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: juancgi
did you have to restart nginx or the app?
nevermind im about to throw my pc out the window
had to use dos2unix on the unicorn_init.sh in order to get it to insterpret it righ
for some reason, at the last step on cap deploy:cold it is not allowing me access. this is the output:
* executing `deploy:start'
* executing "/etc/init.d/unicorn_mock_app start"
[MYIP] executing command
** [out :: MYIP] sh: /etc/init.d/unicorn_mock_app: Permission denied
command finished in 150ms
failed: "sh -c '/etc/init.d/unicorn_mock_app start'" on IP
I tried changing the permission to the symlink by running:
chmod +x /etc/init.d/unicorn_mock_app
But then it outputs
-bash: /etc/init.d/unicorn_mock_app: /bin/sh^M: bad interpreter: No such file or directory
any ideas?? on why it wont allow permissions for the app to start