{"action":"reopened","issue":{"url":"https://api.github.com/repos/capistrano/rbenv/issues/55","labels_url":"https://api.github.com/repos/capistrano/rbenv/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/rbenv/issues/55/comments","events_url":"https://api.github.com/repos/capistrano/rbenv/issues/55/events","html_url":"https://github.com/capistrano/rbenv/issues/55","id":78264752,"number":55,"title":"Could not locate Gemfile","user":{"login":"bperucchi","id":367967,"avatar_url":"https://avatars.githubusercontent.com/u/367967?v=3","gravatar_id":"","url":"https://api.github.com/users/bperucchi","html_url":"https://github.com/bperucchi","followers_url":"https://api.github.com/users/bperucchi/followers","following_url":"https://api.github.com/users/bperucchi/following{/other_user}","gists_url":"https://api.github.com/users/bperucchi/gists{/gist_id}","starred_url":"https://api.github.com/users/bperucchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bperucchi/subscriptions","organizations_url":"https://api.github.com/users/bperucchi/orgs","repos_url":"https://api.github.com/users/bperucchi/repos","events_url":"https://api.github.com/users/bperucchi/events{/privacy}","received_events_url":"https://api.github.com/users/bperucchi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-19T21:51:43Z","updated_at":"2015-05-19T22:10:03Z","closed_at":null,"body":"Using rbenv\r\n   gem 'capistrano', '~> 3.4.0'\r\n   gem 'capistrano-rails', '~> 1.1.3'\r\n   gem 'capistrano-bundler', '~> 1.1.4'\r\n   gem 'capistrano-rbenv', '~> 2.0.3'\r\n\r\n   set :rbenv_type, :user # or :system, depends on your rbenv setup\r\n   set :rbenv_ruby, \"2.2.0\"\r\n   set :rbenv_prefix, \"RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} #{fetch(:rbenv_path)}/bin/rbenv exec\"\r\n   set :rbenv_map_bins, %w{rake gem bundle ruby rails}\r\n   set :rbenv_roles, :all # default value\r\n\r\nWhen I try execute mailman_daemon  with capistrano I have this error. I'm with this for two days. Works when I executed the command on console \r\n\r\n```ruby\r\nnamespace :mailman do  \r\n  desc \"Mailman::Start\"\r\n  task :start do \r\n    on roles(:app) do\r\n      with rails_env: fetch(:rails_env) do\r\n        execute :bundle, :exec, :'script/mailman_daemon start', :args=> :start\r\n      end\r\n    end\r\n    # on roles(:app) do\r\n    #   execute \"cd #{current_path}&& bundle exec script/mailman_daemon start\", raise_on_non_zero_exit: false\r\n    # end\r\n  end\r\n```\r\n\r\n    $ cap mailman:start\r\n    DEBUG[23824710] Running /usr/bin/env [ -d ~/.rbenv/versions/2.2.0 ] on gestor.imentore.com.br\r\n    DEBUG[23824710] Command: [ -d ~/.rbenv/versions/2.2.0 ] \r\n    DEBUG[23824710] Finished in 2.018 seconds with exit status 0 (successful).\r\n    INFO[4a2f3d68] Running RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.0 ~/.rbenv/bin/rbenv exec                          \r\n    bundle exec script/mailman_daemon start on gestor.imentore.com.br\r\n    DEBUG[4a2f3d68] Command: ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.0 RAILS_ENV=production RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.0 ~/.rbenv/bin/rbenv exec bundle exec script/mailman_daemon start )\r\n    DEBUG[4a2f3d68] \t[31mCould not locate Gemfile[0\r\n"}}