{"action":"created","issue":{"url":"https://api.github.com/repos/capistrano/passenger/issues/17","labels_url":"https://api.github.com/repos/capistrano/passenger/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/passenger/issues/17/comments","events_url":"https://api.github.com/repos/capistrano/passenger/issues/17/events","html_url":"https://github.com/capistrano/passenger/issues/17","id":71931767,"number":17,"title":"cap staging passenger:restart not issuing command to restart?","user":{"login":"jh125486","id":1824797,"avatar_url":"https://avatars.githubusercontent.com/u/1824797?v=3","gravatar_id":"","url":"https://api.github.com/users/jh125486","html_url":"https://github.com/jh125486","followers_url":"https://api.github.com/users/jh125486/followers","following_url":"https://api.github.com/users/jh125486/following{/other_user}","gists_url":"https://api.github.com/users/jh125486/gists{/gist_id}","starred_url":"https://api.github.com/users/jh125486/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jh125486/subscriptions","organizations_url":"https://api.github.com/users/jh125486/orgs","repos_url":"https://api.github.com/users/jh125486/repos","events_url":"https://api.github.com/users/jh125486/events{/privacy}","received_events_url":"https://api.github.com/users/jh125486/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-29T17:04:21Z","updated_at":"2015-04-29T18:12:50Z","closed_at":null,"body":"I'm sure I've got something configured wrong  (and I'm reading through all the Passenger 5 issues).\r\nMy `Capfile`:\r\n```\r\nrequire 'capistrano/setup'\r\n\r\nrequire 'capistrano/deploy'\r\n\r\nrequire 'capistrano/rvm'\r\nrequire 'capistrano/rails'\r\nrequire 'capistrano/passenger'\r\n\r\nDir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }\r\n```\r\n`config/deploy.rb`:\r\n```\r\nlock '3.4.0'\r\n\r\nset :application, 'app_name'\r\nset :repo_url, \"ssh://git@stash_url/#{fetch :application}.git\"\r\n\r\nset :deploy_to, \"/usr/share/nginx/apps/#{fetch :application}\"\r\nset :user, 'deployer'\r\nset :log_level, :debug\r\n\r\nlinked_files = %w(config/database.yml config/secrets.yml)\r\nset :linked_files, fetch(:linked_files, []) + linked_files\r\n\r\nlinked_dirs = %w(log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system public/uploads)\r\nset :linked_dirs, fetch(:linked_dirs, []) + linked_dirs\r\n\r\n# Needed since we develop on windows machines with a different Gemfile.lock through jenkins\r\nset :bundle_flags, '--quiet'\r\n\r\nnamespace :deploy do\r\n  before :published, 'linked_files:upload'\r\n  after :publishing, :restart\r\nend\r\n```\r\n\r\nWhen I do `bundle exec cap staging deploy:restart`:\r\n```\r\nDEBUG [b43d59aa] Running /usr/bin/env [ -d ~/.rvm ] on vc2coma2044169n\r\nDEBUG [b43d59aa] Command: [ -d ~/.rvm ]\r\nDEBUG [b43d59aa] Finished in 0.452 seconds with exit status 1 (failed).\r\nDEBUG [bca34c86] Running /usr/bin/env [ -d /usr/local/rvm ] on vc2coma2044169n\r\nDEBUG [bca34c86] Command: [ -d /usr/local/rvm ]\r\nDEBUG [bca34c86] Finished in 0.291 seconds with exit status 0 (successful).\r\nDEBUG [ecbcd797] Running /usr/local/rvm/bin/rvm version on vc2coma2044169n\r\nDEBUG [ecbcd797] Command: ( HTTP_PROXY=proxy HTTPS_PROXY=proxy /usr/local/rvm/bin/rvm version )\r\nDEBUG [ecbcd797]        rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]\r\nDEBUG [ecbcd797] Finished in 0.892 seconds with exit status 0 (successful).\r\nrvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]\r\nDEBUG [d25272f2] Running /usr/local/rvm/bin/rvm current on vc2coma2044169n\r\nDEBUG [d25272f2] Command: ( HTTP_PROXY=proxy HTTPS_PROXY=proxy /usr/local/rvm/bin/rvm current )\r\nDEBUG [d25272f2]        ruby-2.2.1\r\nDEBUG [d25272f2] Finished in 0.826 seconds with exit status 0 (successful).\r\nruby-2.2.1\r\nDEBUG [5c1c9244] Running /usr/local/rvm/bin/rvm default do ruby --version on vc2coma2044169n\r\nDEBUG [5c1c9244] Command: ( HTTP_PROXY=proxy HTTPS_PROXY=proxy /usr/local/rvm/bin/rvm default do ruby --version )\r\nDEBUG [5c1c9244]        ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]\r\nDEBUG [5c1c9244] Finished in 1.191 seconds with exit status 0 (successful).\r\nruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]\r\n```\r\nSurely I'm got something set wrong, any ideas?\r\nThanks in advance!\r\n"},"comment":{"url":"https://api.github.com/repos/capistrano/passenger/issues/comments/97527312","html_url":"https://github.com/capistrano/passenger/issues/17#issuecomment-97527312","issue_url":"https://api.github.com/repos/capistrano/passenger/issues/17","id":97527312,"user":{"login":"jh125486","id":1824797,"avatar_url":"https://avatars.githubusercontent.com/u/1824797?v=3","gravatar_id":"","url":"https://api.github.com/users/jh125486","html_url":"https://github.com/jh125486","followers_url":"https://api.github.com/users/jh125486/followers","following_url":"https://api.github.com/users/jh125486/following{/other_user}","gists_url":"https://api.github.com/users/jh125486/gists{/gist_id}","starred_url":"https://api.github.com/users/jh125486/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jh125486/subscriptions","organizations_url":"https://api.github.com/users/jh125486/orgs","repos_url":"https://api.github.com/users/jh125486/repos","events_url":"https://api.github.com/users/jh125486/events{/privacy}","received_events_url":"https://api.github.com/users/jh125486/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T18:12:50Z","updated_at":"2015-04-29T18:12:50Z","body":"v 0.0.5\n\nOn Wednesday, April 29, 2015, betesh <notifications@github.com> wrote:\n\n> What version of capistrano-passenger?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/capistrano/passenger/issues/17#issuecomment-97512351>.\n>\n\n\n-- \nSent from my iPhone\n"}}